@@ -44,7 +44,7 @@ discard block |
||
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 |
||
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; |