@@ -137,14 +137,11 @@ |
||
137 | 137 | foreach ($attributes as $attribute) { |
138 | 138 | if ($attribute->getName() === Column::class || is_subclass_of($attribute->getName(), Column::class)) { |
139 | 139 | $columns[$property->getName()] = $attribute->newInstance(); |
140 | - } |
|
141 | - else if ($attribute->getName() === Constraint::class || is_subclass_of($attribute->getName(), Constraint::class)) { |
|
140 | + } else if ($attribute->getName() === Constraint::class || is_subclass_of($attribute->getName(), Constraint::class)) { |
|
142 | 141 | $constraints[$property->getName()] = $attribute->newInstance(); |
143 | - } |
|
144 | - else if ($attribute->getName() === Embedded::class || is_subclass_of($attribute->getName(), Embedded::class)) { |
|
142 | + } else if ($attribute->getName() === Embedded::class || is_subclass_of($attribute->getName(), Embedded::class)) { |
|
145 | 143 | $embedded[$property->getName()] = $attribute->newInstance(); |
146 | - } |
|
147 | - else if ($attribute->getName() === Complex::class || is_subclass_of($attribute->getName(), Complex::class)) { |
|
144 | + } else if ($attribute->getName() === Complex::class || is_subclass_of($attribute->getName(), Complex::class)) { |
|
148 | 145 | $complexes[$property->getName()] = $attribute->newInstance(); |
149 | 146 | } |
150 | 147 | } |