@@ -83,9 +83,9 @@ public static function getColumnsName($tableName)
83
83
*
84
84
* @param array $table
85
85
*
86
- * @return void
86
+ * @return array|object| void
87
87
*/
88
- public static function create ($ table = [] )
88
+ public static function create ($ table )
89
89
{
90
90
if (!is_array ($ table )) {
91
91
$ table = json_decode ($ table , true );
@@ -108,7 +108,7 @@ public static function create($table = [])
108
108
*
109
109
* @return true|void
110
110
*/
111
- public static function update ($ table = [] )
111
+ public static function update ($ table )
112
112
{
113
113
if (!is_array ($ table )) {
114
114
$ table = json_decode ($ table , true );
@@ -125,7 +125,7 @@ public static function update($table = [])
125
125
*
126
126
* @param string $tableName
127
127
*
128
- * @return true| void
128
+ * @return void
129
129
*/
130
130
public static function drop ($ tableName )
131
131
{
@@ -142,7 +142,7 @@ public static function drop($tableName)
142
142
*
143
143
* @return \Doctrine\DBAL\Schema\Table
144
144
*/
145
- public static function prepareTable ($ table = [] )
145
+ public static function prepareTable ($ table )
146
146
{
147
147
148
148
if (!is_array ($ table )) {
@@ -246,7 +246,7 @@ public static function getForeignKeys(DoctrineTable $table)
246
246
*
247
247
* @param string $tableName
248
248
*
249
- * @return true
249
+ * @return boolean
250
250
*/
251
251
public static function exists ($ tableName )
252
252
{
@@ -264,7 +264,7 @@ public static function exists($tableName)
264
264
* Get tables with pagination
265
265
*
266
266
* @param int $perPage
267
- * @param string |null $page
267
+ * @param int |null $page
268
268
* @param array $options
269
269
* @param string $query
270
270
*
0 commit comments