@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | // use doctrine/dbal |
| 39 | 39 | $model = $this->laravel->make($modelName); |
| 40 | - $table = $model->getConnection()->getTablePrefix() . $model->getTable(); |
|
| 40 | + $table = $model->getConnection()->getTablePrefix().$model->getTable(); |
|
| 41 | 41 | $schema = $model->getConnection()->getDoctrineSchemaManager($table); |
| 42 | 42 | |
| 43 | 43 | if (!method_exists($schema, 'getDatabasePlatform')) { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | { |
| 183 | 183 | return [ |
| 184 | 184 | ['model', null, InputOption::VALUE_REQUIRED, |
| 185 | - 'The eloquent model that should be use as controller data source.',], |
|
| 185 | + 'The eloquent model that should be use as controller data source.', ], |
|
| 186 | 186 | ]; |
| 187 | 187 | } |
| 188 | 188 | } |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | /** |
| 25 | 25 | * Execute the console command. |
| 26 | 26 | * |
| 27 | - * @return bool |
|
| 27 | + * @return false|null |
|
| 28 | 28 | */ |
| 29 | 29 | public function handle() |
| 30 | 30 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * Check if the table column contains the specified keywords of the array. |
| 158 | 158 | * |
| 159 | 159 | * @param string $haystack |
| 160 | - * @param array $needle |
|
| 160 | + * @param string[] $needle |
|
| 161 | 161 | * @return bool |
| 162 | 162 | */ |
| 163 | 163 | private function checkColumn(string $haystack, array $needle) |