@@ -176,18 +176,18 @@ |
||
| 176 | 176 | */ |
| 177 | 177 | public static function table_alias(): string |
| 178 | 178 | { |
| 179 | - if(defined(get_called_class() . '::TABLE_ALIAS')) |
|
| 179 | + if(defined(get_called_class() . '::TABLE_ALIAS')) |
|
| 180 | 180 | return static::TABLE_ALIAS; |
| 181 | 181 | |
| 182 | - return static::model_type(); |
|
| 182 | + return static::model_type(); |
|
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | public static function model_type(): string |
| 186 | 186 | { |
| 187 | - if(defined(get_called_class().'::MODEL_TYPE')) |
|
| 187 | + if(defined(get_called_class().'::MODEL_TYPE')) |
|
| 188 | 188 | return static::MODEL_TYPE; |
| 189 | 189 | |
| 190 | - return strtolower(self::class_short_name()); |
|
| 190 | + return strtolower(self::class_short_name()); |
|
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | public static function class_short_name(): string |