Completed
Pull Request — master (#407)
by Mike
03:01
created
lib/Doctrine/DBAL/Migrations/SchemaManipulator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param Schema $toSchema
58 58
      * @return array
59 59
      */
60
-    public function getSqlDiffToMigrate(Schema $fromSchema,Schema $toSchema)
60
+    public function getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema)
61 61
     {
62 62
         return $fromSchema->getMigrateToSql($toSchema, $this->platform);
63 63
     }
Please login to merge, or discard this patch.
lib/Doctrine/DBAL/Migrations/LazySchemaManipulator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         return $this->proxyFactory->createProxy(
48 48
             Schema::class,
49
-            function (& $wrappedObject, $method, array $parameters, & $initializer) use ($originalSchemaManipulator) {
49
+            function(& $wrappedObject, $method, array $parameters, & $initializer) use ($originalSchemaManipulator) {
50 50
                 $initializer   = null;
51 51
                 $wrappedObject = $originalSchemaManipulator->createFromSchema();
52 52
 
@@ -63,10 +63,10 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $originalSchemaManipulator = $this->originalSchemaManipulator;
65 65
 
66
-        if ($fromSchema instanceof LazyLoadingInterface && ! $fromSchema->isProxyInitialized()) {
66
+        if ($fromSchema instanceof LazyLoadingInterface && !$fromSchema->isProxyInitialized()) {
67 67
             return $this->proxyFactory->createProxy(
68 68
                 Schema::class,
69
-                function (& $wrappedObject, $method, array $parameters, & $initializer) use ($originalSchemaManipulator, $fromSchema) {
69
+                function(& $wrappedObject, $method, array $parameters, & $initializer) use ($originalSchemaManipulator, $fromSchema) {
70 70
                     $initializer   = null;
71 71
                     $wrappedObject = $originalSchemaManipulator->createToSchema($fromSchema);
72 72
 
@@ -84,11 +84,11 @@  discard block
 block discarded – undo
84 84
      *
85 85
      * @return array
86 86
      */
87
-    public function getSqlDiffToMigrate(Schema $fromSchema,Schema $toSchema)
87
+    public function getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema)
88 88
     {
89 89
         if (
90 90
             $toSchema instanceof LazyLoadingInterface
91
-            && ! $toSchema->isProxyInitialized()
91
+            && !$toSchema->isProxyInitialized()
92 92
         ) {
93 93
             return [];
94 94
         }
Please login to merge, or discard this patch.