@@ -188,7 +188,7 @@ |
||
188 | 188 | $this->dispatchEvent($this->createErrorEvent(EntityEventName::DELETE_COLLECTION_ERROR, $e)); |
189 | 189 | } |
190 | 190 | |
191 | - return (int)$event->getParam('deleted_count', 0); |
|
191 | + return (int) $event->getParam('deleted_count', 0); |
|
192 | 192 | } |
193 | 193 | |
194 | 194 | /** |
@@ -123,7 +123,7 @@ |
||
123 | 123 | |
124 | 124 | $entityId = 'FOO123'; |
125 | 125 | |
126 | - $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__; |
|
126 | + $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__; |
|
127 | 127 | $exceptionCode = 123; |
128 | 128 | $exception = new QueryServiceException($exceptionMessage, $exceptionCode); |
129 | 129 |
@@ -174,7 +174,7 @@ |
||
174 | 174 | * Note that we are hard coding the '0' key as the single field the we use as the id/primary key. |
175 | 175 | * If we implement EntityInterface correctly we will never have a composite key. |
176 | 176 | */ |
177 | - return isset($mapping['joinColumns'][0]['nullable']) && (bool)$mapping['joinColumns'][0]['nullable']; |
|
177 | + return isset($mapping['joinColumns'][0]['nullable']) && (bool) $mapping['joinColumns'][0]['nullable']; |
|
178 | 178 | } |
179 | 179 | |
180 | 180 | return (is_iterable($entityOrCollection) || $entityOrCollection instanceof EntityInterface); |