@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $parent = static::$parentClass; |
40 | 40 | /** @var DActiveRecord $child */ |
41 | 41 | $child = static::$childClass; |
42 | - return $parent::tableName() . '_' . $child::tableName() . "_id"; |
|
42 | + return $parent::tableName().'_'.$child::tableName()."_id"; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | { |
51 | 51 | parent::init(); |
52 | 52 | if (is_null($this->parentModel) or is_null($this->childModel)) { |
53 | - throw new InvalidConfigException('Parent & Child class name must be defined for ' . static::class); |
|
53 | + throw new InvalidConfigException('Parent & Child class name must be defined for '.static::class); |
|
54 | 54 | } |
55 | 55 | } |
56 | 56 |