Completed
Push — master ( e478ea...ae87e4 )
by Christian
02:52
created
src/EventListener/ORM/TablePrefixEventListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             }
84 84
 
85 85
             if (isset($classMetadata->associationMappings[$fieldName]['joinTable']['name'])) {
86
-                $mappedTableName  = $classMetadata->associationMappings[$fieldName]['joinTable']['name'];
86
+                $mappedTableName = $classMetadata->associationMappings[$fieldName]['joinTable']['name'];
87 87
 
88 88
                 if (!$this->prefixExists($mappedTableName)) {
89 89
                     $classMetadata->associationMappings[$fieldName]['joinTable']['name'] = $this->prefix.$mappedTableName;
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             return;
107 107
         }
108 108
 
109
-        $newDefinition  = $classMetadata->sequenceGeneratorDefinition;
109
+        $newDefinition = $classMetadata->sequenceGeneratorDefinition;
110 110
 
111 111
         $sequenceName = $newDefinition['sequenceName'];
112 112
         if (!$this->prefixExists($sequenceName)) {
Please login to merge, or discard this patch.