Passed
Push — main ( f6f8c3...7cc090 )
by Sammy
03:44 queued 02:05
created
TightModel.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -176,16 +176,18 @@
 block discarded – undo
176 176
      */
177 177
     public static function table_alias(): string
178 178
     {
179
-      if(defined(get_called_class() . '::TABLE_ALIAS'))
180
-        return static::TABLE_ALIAS;
179
+      if(defined(get_called_class() . '::TABLE_ALIAS')) {
180
+              return static::TABLE_ALIAS;
181
+      }
181 182
 
182 183
       return static::model_type();
183 184
     }
184 185
 
185 186
     public static function model_type(): string
186 187
     {
187
-      if(defined(get_called_class().'::MODEL_TYPE'))
188
-        return static::MODEL_TYPE;
188
+      if(defined(get_called_class().'::MODEL_TYPE')) {
189
+              return static::MODEL_TYPE;
190
+      }
189 191
 
190 192
       return strtolower(self::class_short_name());
191 193
     }
Please login to merge, or discard this patch.