Completed
Push — master ( b1c127...b6514b )
by David
01:55
created
src/Helpers/Model.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
 
49 49
         // Test conventional namespace model combinations
50 50
         $conventions = [
51
-            $this->crudApi->namespace . $model,
52
-            $this->crudApi->namespace . 'Models\\' . $model
51
+            $this->crudApi->namespace.$model,
52
+            $this->crudApi->namespace.'Models\\'.$model
53 53
         ];
54 54
 
55 55
         foreach ($conventions as $fqModel) {
@@ -63,14 +63,14 @@  discard block
 block discarded – undo
63 63
             $additionalNamespaces = $this->getAdditionalNamespaces();
64 64
             if (!empty($additionalNamespaces)) {
65 65
                 foreach ($additionalNamespaces as $ns) {
66
-                    $fqModel = $ns . $model;
66
+                    $fqModel = $ns.$model;
67 67
                     if (class_exists($fqModel)) {
68 68
                         return $fqModel;
69 69
                     }
70 70
                 }
71 71
             }
72 72
         } catch (\Exception $e) {
73
-            Log::debug('CrudAPI: ' . $e->getMessage());
73
+            Log::debug('CrudAPI: '.$e->getMessage());
74 74
             return false;
75 75
         }
76 76
 
Please login to merge, or discard this patch.