Completed
Pull Request — master (#407)
by Mike
03:00
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
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         return $this->proxyFactory->createProxy(
46 46
             Schema::class,
47
-            function (& $wrappedObject, $method, array $parameters, & $initializer) {
47
+            function(& $wrappedObject, $method, array $parameters, & $initializer) {
48 48
                 $initializer   = null;
49 49
                 $wrappedObject = $this->originalSchemaManipulator->createFromSchema();
50 50
 
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function createToSchema(Schema $fromSchema)
61 61
     {
62
-        if ($fromSchema instanceof LazyLoadingInterface && ! $fromSchema->isProxyInitialized()) {
62
+        if ($fromSchema instanceof LazyLoadingInterface && !$fromSchema->isProxyInitialized()) {
63 63
             return $this->proxyFactory->createProxy(
64 64
                 Schema::class,
65
-                function (& $wrappedObject, $method, array $parameters, & $initializer) use ($fromSchema) {
65
+                function(& $wrappedObject, $method, array $parameters, & $initializer) use ($fromSchema) {
66 66
                     $initializer   = null;
67 67
                     $wrappedObject = $this->originalSchemaManipulator->createToSchema($fromSchema);
68 68
 
@@ -80,11 +80,11 @@  discard block
 block discarded – undo
80 80
      *
81 81
      * @return array
82 82
      */
83
-    public function getSqlDiffToMigrate(Schema $fromSchema,Schema $toSchema)
83
+    public function getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema)
84 84
     {
85 85
         if (
86 86
             $toSchema instanceof LazyLoadingInterface
87
-            && ! $toSchema->isProxyInitialized()
87
+            && !$toSchema->isProxyInitialized()
88 88
         ) {
89 89
             return [];
90 90
         }
Please login to merge, or discard this patch.