Completed
Push — master ( 959f72...e1ca15 )
by Nenad
01:44 queued 11s
created
src/Console/StatusCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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]);
Please login to merge, or discard this patch.
src/Console/ImportCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.