@@ -103,7 +103,7 @@ |
||
103 | 103 | // have been invoked. |
104 | 104 | $this->logger->warning( |
105 | 105 | 'Transactional interceptor was invoked, but no annotation was found for method \'' . |
106 | - $methodDefinition->getDeclaringClass()->getName() . '::' . $methodDefinition->getName() . '\'' |
|
106 | + $methodDefinition->getDeclaringClass()->getName() . '::' . $methodDefinition->getName() . '\'' |
|
107 | 107 | ); |
108 | 108 | } |
109 | 109 |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | $this->entityManager->expects(static::exactly(2))->method('commit'); |
141 | 141 | $this->entityManager->expects(static::never())->method('rollback'); |
142 | 142 | |
143 | - $nestedTransaction = function ($class, $instance) |
|
143 | + $nestedTransaction = function($class, $instance) |
|
144 | 144 | { |
145 | 145 | $this->transactionalInterceptor->intercept( |
146 | 146 | new MethodInvocation($class->getMethod('aMethod'), $instance, array(), array())); |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | $this->entityManager->expects(static::exactly(2))->method('commit'); |
181 | 181 | $this->entityManager->expects(static::never())->method('rollback'); |
182 | 182 | |
183 | - $nestedTransaction = function ($class, $instance) |
|
183 | + $nestedTransaction = function($class, $instance) |
|
184 | 184 | { |
185 | 185 | $this->transactionalInterceptor->intercept( |
186 | 186 | new MethodInvocation($class->getMethod('aMethod'), $instance, array(), array())); |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | $this->reader->expects(static::once())->method('getMethodAnnotation')->willReturn(null); |
249 | 249 | $this->reader->expects(static::once())->method('getClassAnnotation')->willReturn($annotation); |
250 | 250 | $this->container->expects(static::exactly(2))->method('getParameter')->willReturnCallback( |
251 | - function ($parameter) use($exceptionClassName) |
|
251 | + function($parameter) use($exceptionClassName) |
|
252 | 252 | { |
253 | 253 | if ($parameter === (Configuration::ROOT_NODE_NAME . '.' . Configuration::DEFAULT_POLICY)) { |
254 | 254 | $value = Transactional::REQUIRED; |