@@ -83,9 +83,9 @@ public static function getColumnsName($tableName)
8383 *
8484 * @param array $table
8585 *
86- * @return void
86+ * @return array|object| void
8787 */
88- public static function create ($ table = [] )
88+ public static function create ($ table )
8989 {
9090 if (!is_array ($ table )) {
9191 $ table = json_decode ($ table , true );
@@ -108,7 +108,7 @@ public static function create($table = [])
108108 *
109109 * @return true|void
110110 */
111- public static function update ($ table = [] )
111+ public static function update ($ table )
112112 {
113113 if (!is_array ($ table )) {
114114 $ table = json_decode ($ table , true );
@@ -125,7 +125,7 @@ public static function update($table = [])
125125 *
126126 * @param string $tableName
127127 *
128- * @return true| void
128+ * @return void
129129 */
130130 public static function drop ($ tableName )
131131 {
@@ -142,7 +142,7 @@ public static function drop($tableName)
142142 *
143143 * @return \Doctrine\DBAL\Schema\Table
144144 */
145- public static function prepareTable ($ table = [] )
145+ public static function prepareTable ($ table )
146146 {
147147
148148 if (!is_array ($ table )) {
@@ -246,7 +246,7 @@ public static function getForeignKeys(DoctrineTable $table)
246246 *
247247 * @param string $tableName
248248 *
249- * @return true
249+ * @return boolean
250250 */
251251 public static function exists ($ tableName )
252252 {
@@ -264,7 +264,7 @@ public static function exists($tableName)
264264 * Get tables with pagination
265265 *
266266 * @param int $perPage
267- * @param string |null $page
267+ * @param int |null $page
268268 * @param array $options
269269 * @param string $query
270270 *
0 commit comments