@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | throw new InvalidMappingException(sprintf( |
125 | 125 | "Missing referenced orm file '%s'%s!", |
126 | 126 | $mappingFile, |
127 | - is_string($parentMappingFile) ?sprintf(", referenced in file '%s'", $parentMappingFile) :'' |
|
127 | + is_string($parentMappingFile) ?sprintf(", referenced in file '%s'", $parentMappingFile) : '' |
|
128 | 128 | )); |
129 | 129 | } |
130 | 130 | |
@@ -771,7 +771,7 @@ discard block |
||
771 | 771 | } |
772 | 772 | |
773 | 773 | } elseif ($key === 'type') { |
774 | - $type = Type::getType((string) $attributeValue); |
|
774 | + $type = Type::getType((string)$attributeValue); |
|
775 | 775 | |
776 | 776 | } elseif (isset($keyMap[$key])) { |
777 | 777 | if ($key === 'nullable') { |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | $dbalColumn = new DBALColumn( |
140 | - (string) $column->name, |
|
140 | + (string)$column->name, |
|
141 | 141 | Type::getType($column->type), |
142 | 142 | [ |
143 | 143 | 'notnull' => !$column->nullable, |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | } elseif ($annotation instanceof ColumnAnnotation && $convertFieldsOnRootLevel) { |
246 | 246 | /** @var DBALColumn $dbalColumn */ |
247 | 247 | $dbalColumn = new DBALColumn( |
248 | - (string) $annotation->name, |
|
248 | + (string)$annotation->name, |
|
249 | 249 | Type::getType($annotation->type ?? 'string'), |
250 | 250 | [ |
251 | 251 | 'notnull' => !$annotation->nullable, |