@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | { |
146 | 146 | if (null === $entityOrCollection) { |
147 | 147 | $isNullable = isset($mapping['joinColumns'][0]['nullable']) |
148 | - ? (bool)$mapping['joinColumns'][0]['nullable'] |
|
148 | + ? (bool) $mapping['joinColumns'][0]['nullable'] |
|
149 | 149 | : false; |
150 | 150 | |
151 | 151 | if (!$isNullable) { |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | ClassMetadata $sourceMetadata, |
225 | 225 | ClassMetadata $targetMetadata |
226 | 226 | ) { |
227 | - $methodName = 'get' . ucfirst($fieldName); |
|
227 | + $methodName = 'get'.ucfirst($fieldName); |
|
228 | 228 | |
229 | 229 | if (!method_exists($sourceEntity, $methodName)) { |
230 | 230 | $errorMessage = sprintf( |
@@ -69,7 +69,7 @@ |
||
69 | 69 | throw new InvalidArgumentException($errorMessage); |
70 | 70 | } |
71 | 71 | |
72 | - if (! $entity instanceof EntityInterface || !$entity instanceof $entityName) { |
|
72 | + if (!$entity instanceof EntityInterface || !$entity instanceof $entityName) { |
|
73 | 73 | $errorMessage = sprintf( |
74 | 74 | 'The entity class of type \'%s\' does not match the expected \'%s\' for event \'%s\'', |
75 | 75 | (is_object($entity) ? get_class($entity) : gettype($entity)), |