@@ -13,7 +13,7 @@ |
||
13 | 13 | $extraction_table = $extraction_class::table(); |
14 | 14 | |
15 | 15 | foreach ($extraction_table->columns() as $column_name => $column) { |
16 | - $probe_name = $extraction_class::tableAlias() . '_' . $column_name; |
|
16 | + $probe_name = $extraction_class::tableAlias().'_'.$column_name; |
|
17 | 17 | |
18 | 18 | if (!is_null($probe_res = $from_model->get($probe_name))) { |
19 | 19 | $extract_model->set($column_name, $probe_res); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | public function __toString() |
14 | 14 | { |
15 | - return static::class_short_name() . ' #' . $this->getId(); |
|
15 | + return static::class_short_name().' #'.$this->getId(); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | public function immortal(): bool |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | $errors = []; |
98 | 98 | |
99 | 99 | foreach ($persistence_errors as $column_name => $err) { |
100 | - $errors[sprintf('MODEL_%s_FIELD_%s', static::model_type(), $column_name)] = 'CRUDITES_' . $err; |
|
100 | + $errors[sprintf('MODEL_%s_FIELD_%s', static::model_type(), $column_name)] = 'CRUDITES_'.$err; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | return $errors; |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | */ |
171 | 171 | public static function tableAlias(): string |
172 | 172 | { |
173 | - if (defined(get_called_class() . '::TABLE_ALIAS')) { |
|
173 | + if (defined(get_called_class().'::TABLE_ALIAS')) { |
|
174 | 174 | return get_called_class()::TABLE_ALIAS; |
175 | 175 | } |
176 | 176 | |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | |
180 | 180 | public static function model_type(): string |
181 | 181 | { |
182 | - if (defined(get_called_class() . '::MODEL_TYPE')) { |
|
182 | + if (defined(get_called_class().'::MODEL_TYPE')) { |
|
183 | 183 | return get_called_class()::MODEL_TYPE; |
184 | 184 | } |
185 | 185 |