Passed
Pull Request — 2.6 (#7856)
by Luís
07:51
created
lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function referenceColumnName()
114 114
     {
115
-        return $this->case === CASE_UPPER ?  'ID' : 'id';
115
+        return $this->case === CASE_UPPER ? 'ID' : 'id';
116 116
     }
117 117
 
118 118
     /**
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function joinColumnName($propertyName, $className = null)
122 122
     {
123
-        return $this->underscore($propertyName, self::PATTERN_FOR_PROPERTIES) . '_' . $this->referenceColumnName();
123
+        return $this->underscore($propertyName, self::PATTERN_FOR_PROPERTIES).'_'.$this->referenceColumnName();
124 124
     }
125 125
 
126 126
     /**
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      */
129 129
     public function joinTableName($sourceEntity, $targetEntity, $propertyName = null)
130 130
     {
131
-        return $this->classToTableName($sourceEntity) . '_' . $this->classToTableName($targetEntity);
131
+        return $this->classToTableName($sourceEntity).'_'.$this->classToTableName($targetEntity);
132 132
     }
133 133
 
134 134
     /**
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function joinKeyColumnName($entityName, $referencedColumnName = null)
138 138
     {
139
-        return $this->classToTableName($entityName) . '_' .
139
+        return $this->classToTableName($entityName).'_'.
140 140
                 ($referencedColumnName ?: $this->referenceColumnName());
141 141
     }
142 142
 
Please login to merge, or discard this patch.