@@ -24,7 +24,7 @@ |
||
| 24 | 24 | public function rules() |
| 25 | 25 | { |
| 26 | 26 | return [ |
| 27 | - [['name'], 'string', 'max' => 254], |
|
| 27 | + [['name'], 'string', 'max' => 254], |
|
| 28 | 28 | ]; |
| 29 | 29 | } |
| 30 | 30 | |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | public static function primaryKeySingle() |
| 19 | 19 | { |
| 20 | 20 | if (count(self::primaryKey()) === 1) { |
| 21 | - return static::tableName() . "_id"; |
|
| 21 | + return static::tableName()."_id"; |
|
| 22 | 22 | } |
| 23 | 23 | throw new NotSupportedException('Not supported for multi-column primary keys'); |
| 24 | 24 | } |