Completed
Push — master ( 81a9c5...2e3ad2 )
by Anton
03:38 queued 01:14
created
source/Spiral/ORM/Schemas/SchemaBuilder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -241,8 +241,8 @@  discard block
 block discarded – undo
241 241
     ): AbstractTable {
242 242
         $driver = $this->manager->database($database)->getDriver();
243 243
 
244
-        if (isset($this->tables[$driver->getName() . '.' . $table])) {
245
-            $schema = $this->tables[$driver->getName() . '.' . $table];
244
+        if (isset($this->tables[$driver->getName().'.'.$table])) {
245
+            $schema = $this->tables[$driver->getName().'.'.$table];
246 246
 
247 247
             if ($unique) {
248 248
                 throw new DoubleReferenceException(
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             }
252 252
         } else {
253 253
             $schema = $this->manager->database($database)->table($table)->getSchema();
254
-            $this->tables[$driver->getName() . '.' . $table] = $schema;
254
+            $this->tables[$driver->getName().'.'.$table] = $schema;
255 255
         }
256 256
 
257 257
         $schema = clone $schema;
@@ -473,10 +473,10 @@  discard block
 block discarded – undo
473 473
         //We have to make sure that local table name is used
474 474
         $table = substr($schema->getName(), strlen($schema->getPrefix()));
475 475
 
476
-        if (empty($this->tables[$schema->getDriver()->getName() . '.' . $table])) {
476
+        if (empty($this->tables[$schema->getDriver()->getName().'.'.$table])) {
477 477
             throw new SchemaException("AbstractTable must be requested before pushing back");
478 478
         }
479 479
 
480
-        $this->tables[$schema->getDriver()->getName() . '.' . $table] = $schema;
480
+        $this->tables[$schema->getDriver()->getName().'.'.$table] = $schema;
481 481
     }
482 482
 }
483 483
\ No newline at end of file
Please login to merge, or discard this patch.