Completed
Pull Request — master (#5)
by
unknown
09:07
created
src/Console/Commands/LaravelDb2DocCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.