Completed
Push — master ( 02ce33...6d2df6 )
by Tõnis
02:21
created
src/DActiveRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/ManyToManyModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.