@@ -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 |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | */ |
| 151 | 151 | public static function tableAlias(): string |
| 152 | 152 | { |
| 153 | - if (defined(get_called_class() . '::TABLE_ALIAS')) { |
|
| 153 | + if (defined(get_called_class().'::TABLE_ALIAS')) { |
|
| 154 | 154 | return get_called_class()::TABLE_ALIAS; |
| 155 | 155 | } |
| 156 | 156 | |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | |
| 160 | 160 | public static function model_type(): string |
| 161 | 161 | { |
| 162 | - if (defined(get_called_class() . '::MODEL_TYPE')) { |
|
| 162 | + if (defined(get_called_class().'::MODEL_TYPE')) { |
|
| 163 | 163 | return get_called_class()::MODEL_TYPE; |
| 164 | 164 | } |
| 165 | 165 | |