@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | $classMetadata->expects($this->once())->method('getName')->willReturn($entityName); |
| 349 | 349 | $targetMetadata->expects($this->once())->method('getName')->willReturn($mapping['targetEntity']); |
| 350 | 350 | |
| 351 | - $methodName = 'get' . ucfirst($mapping['fieldName']); |
|
| 351 | + $methodName = 'get'.ucfirst($mapping['fieldName']); |
|
| 352 | 352 | |
| 353 | 353 | $errorMessage = sprintf( |
| 354 | 354 | 'Failed to find required entity method \'%s::%s\'. The method is required for cascade operations ' |
@@ -454,7 +454,7 @@ discard block |
||
| 454 | 454 | $classMetadata->expects($this->once())->method('getName')->willReturn($entityName); |
| 455 | 455 | $targetMetadata->expects($this->once())->method('getName')->willReturn($mapping['targetEntity']); |
| 456 | 456 | |
| 457 | - $methodName = 'get' . ucfirst($mapping['fieldName']); |
|
| 457 | + $methodName = 'get'.ucfirst($mapping['fieldName']); |
|
| 458 | 458 | |
| 459 | 459 | $errorMessage = sprintf( |
| 460 | 460 | 'The call to resolve entity of type \'%s\' from method call \'%s::%s\' failed: %s', |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | ClassMetadata $sourceMetadata, |
| 105 | 105 | ClassMetadata $targetMetadata |
| 106 | 106 | ) { |
| 107 | - $methodName = 'get' . ucfirst($fieldName); |
|
| 107 | + $methodName = 'get'.ucfirst($fieldName); |
|
| 108 | 108 | |
| 109 | 109 | if (!method_exists($sourceEntity, $methodName)) { |
| 110 | 110 | $errorMessage = sprintf( |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * If we implement EntityInterface correctly we will never have a composite key. |
| 156 | 156 | */ |
| 157 | 157 | return isset($mapping['joinColumns'][0]['nullable']) |
| 158 | - ? (bool)$mapping['joinColumns'][0]['nullable'] |
|
| 158 | + ? (bool) $mapping['joinColumns'][0]['nullable'] |
|
| 159 | 159 | : false; |
| 160 | 160 | } |
| 161 | 161 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | $entity = $event->getEntity(); |
| 50 | 50 | |
| 51 | 51 | if (null === $entity) { |
| 52 | - $errorMessage= sprintf('Missing required entity in \'%s\'', static::class); |
|
| 52 | + $errorMessage = sprintf('Missing required entity in \'%s\'', static::class); |
|
| 53 | 53 | $this->logger->error($errorMessage); |
| 54 | 54 | |
| 55 | 55 | throw new PersistenceException($errorMessage); |