@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | $indexedColumns = $rowsTotal ? implode(",", array_keys($model->first()->toSearchableArray())) : ''; |
70 | 70 | |
71 | - if($recordsDifference == 0) { |
|
71 | + if ($recordsDifference == 0) { |
|
72 | 72 | $recordsDifference = '<fg=green>Synchronized</>'; |
73 | 73 | } else { |
74 | 74 | $recordsDifference = "<fg=red>$recordsDifference</>"; |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | private function getSearchableModels() |
128 | 128 | { |
129 | - $searchableModels = (array)$this->argument('model'); |
|
129 | + $searchableModels = (array) $this->argument('model'); |
|
130 | 130 | if (empty($searchableModels)) { |
131 | 131 | $searchableModels = $this->getSearchableModelsFromClasses(); |
132 | 132 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | */ |
141 | 141 | private function isSearchableModel($trait) |
142 | 142 | { |
143 | - return function ($className) use ($trait) { |
|
143 | + return function($className) use ($trait) { |
|
144 | 144 | $traits = class_uses($className); |
145 | 145 | |
146 | 146 | return isset($traits[$trait]); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $tnt->loadConfig($config); |
44 | 44 | $tnt->setDatabaseHandle($db->getPdo()); |
45 | 45 | |
46 | - if(!$model->count()) { |
|
46 | + if (!$model->count()) { |
|
47 | 47 | $this->info('Nothing to import.'); |
48 | 48 | exit(0); |
49 | 49 | } |