@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | private function init() |
| 63 | 63 | { |
| 64 | - if (! file_exists(storage_path('app/db2doc'))) { |
|
| 64 | + if ( ! file_exists(storage_path('app/db2doc'))) { |
|
| 65 | 65 | mkdir(storage_path('app/db2doc')); |
| 66 | 66 | } |
| 67 | 67 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $this->collections = []; |
| 81 | 81 | foreach ($tables as $table) { |
| 82 | 82 | $columns = $schema->listTableColumns($table); |
| 83 | - $foreignKeys = collect($schema->listTableForeignKeys($table))->keyBy(function ($foreignColumn) { |
|
| 83 | + $foreignKeys = collect($schema->listTableForeignKeys($table))->keyBy(function($foreignColumn) { |
|
| 84 | 84 | return $foreignColumn->getLocalColumns()[0]; |
| 85 | 85 | }); |
| 86 | 86 | $this->info('Table: ' . $table); |