Completed
Push — master ( 4ba08f...81a9c5 )
by Anton
02:30
created
source/Spiral/ORM/Helpers/RelationOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
         foreach ($aliases as $property => $alias) {
164 164
             if (isset($userOptions[$property])) {
165 165
                 //Let's create some default options based on user specified values
166
-                $proposed['option:' . $alias] = $userOptions[$property];
166
+                $proposed['option:'.$alias] = $userOptions[$property];
167 167
             }
168 168
         }
169 169
 
Please login to merge, or discard this patch.
source/Spiral/ORM/Helpers/WhereDecorator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $args[0] = $this->prepare($args[0]);
132 132
 
133 133
         //Routing where
134
-        call_user_func_array([$this->query, 'and' . ucfirst($this->target)], $args);
134
+        call_user_func_array([$this->query, 'and'.ucfirst($this->target)], $args);
135 135
 
136 136
         return $this;
137 137
     }
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
         $args[0] = $this->prepare($args[0]);
161 161
 
162 162
         //Routing where
163
-        call_user_func_array([$this->query, 'or' . ucfirst($this->target)], $args);
163
+        call_user_func_array([$this->query, 'or'.ucfirst($this->target)], $args);
164 164
 
165 165
         return $this;
166 166
     }
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Nodes/PivotedNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         $pivotData = $data[ORMInterface::PIVOT_DATA];
97 97
 
98 98
         //Unique row criteria
99
-        return $pivotData[$this->innerPivotKey] . '.' . $pivotData[$this->outerPivotKey];
99
+        return $pivotData[$this->innerPivotKey].'.'.$pivotData[$this->outerPivotKey];
100 100
     }
101 101
 
102 102
 }
103 103
\ No newline at end of file
Please login to merge, or discard this patch.
source/Spiral/ORM/Schemas/SchemaBuilder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -242,8 +242,8 @@  discard block
 block discarded – undo
242 242
         //Requesting thought DatabaseManager
243 243
         $schema = $this->manager->database($database)->table($table)->getSchema();
244 244
 
245
-        if (isset($this->tables[$schema->getDriver()->getName() . '.' . $table])) {
246
-            $schema = $this->tables[$schema->getDriver()->getName() . '.' . $table];
245
+        if (isset($this->tables[$schema->getDriver()->getName().'.'.$table])) {
246
+            $schema = $this->tables[$schema->getDriver()->getName().'.'.$table];
247 247
 
248 248
             if ($unique) {
249 249
                 throw new DoubleReferenceException(
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
             }
253 253
         } else {
254 254
 
255
-            $this->tables[$schema->getDriver()->getName() . '.' . $table] = $schema;
255
+            $this->tables[$schema->getDriver()->getName().'.'.$table] = $schema;
256 256
         }
257 257
 
258 258
         $schema = clone $schema;
@@ -474,10 +474,10 @@  discard block
 block discarded – undo
474 474
         //We have to make sure that local table name is used
475 475
         $table = substr($schema->getName(), strlen($schema->getPrefix()));
476 476
 
477
-        if (empty($this->tables[$schema->getDriver()->getName() . '.' . $table])) {
477
+        if (empty($this->tables[$schema->getDriver()->getName().'.'.$table])) {
478 478
             throw new SchemaException("AbstractTable must be requested before pushing back");
479 479
         }
480 480
 
481
-        $this->tables[$schema->getDriver()->getName() . '.' . $table] = $schema;
481
+        $this->tables[$schema->getDriver()->getName().'.'.$table] = $schema;
482 482
     }
483 483
 }
484 484
\ No newline at end of file
Please login to merge, or discard this patch.