Passed
Push — main ( cb27be...858edf )
by Sammy
25:05 queued 18:16
created
src/TableModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     public function import($assoc_data): self
45 45
     {
46 46
         if (!is_array($assoc_data)) {
47
-            throw new \Exception(__FUNCTION__ . '(assoc_data) parm is not an array');
47
+            throw new \Exception(__FUNCTION__.'(assoc_data) parm is not an array');
48 48
         }
49 49
 
50 50
         // shove it all up in model, god will sort them out
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
         if ($table_name === false) {
72 72
             $shortName = $reflectionClass->getShortName();
73
-            $table_name = defined($const_name = 'TABLE_' . strtoupper($shortName)) ? constant($const_name) : strtolower($shortName);
73
+            $table_name = defined($const_name = 'TABLE_'.strtoupper($shortName)) ? constant($const_name) : strtolower($shortName);
74 74
         }
75 75
 
76 76
         return $table_name;
Please login to merge, or discard this patch.