@@ -47,7 +47,7 @@ |
||
47 | 47 | ->getMock(); |
48 | 48 | $this->factory->expects($this->once()) |
49 | 49 | ->method('getAllMetadata') |
50 | - ->will($this->returnValue(function () { |
|
50 | + ->will($this->returnValue(function() { |
|
51 | 51 | return [ |
52 | 52 | 'SomeBundle\Entity\ParentEntity' => [ |
53 | 53 | 'relations' => [ |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $this->mapper = $mapper; |
47 | 47 | $this->logger = $logger; |
48 | 48 | |
49 | - $this->appendRootEntityToSubject = function($subject, $rootEntity) { |
|
49 | + $this->appendRootEntityToSubject = function($subject, $rootEntity) { |
|
50 | 50 | $subject[] = $rootEntity; |
51 | 51 | return $subject; |
52 | 52 | }; |
@@ -270,13 +270,13 @@ discard block |
||
270 | 270 | |
271 | 271 | public function findAllPathsTo(string $dest) |
272 | 272 | { |
273 | - for ($stay = true;;) { |
|
273 | + for ($stay = true; ;) { |
|
274 | 274 | try { |
275 | 275 | $this->getPathToEntity($dest); |
276 | 276 | $entities = $this->getEntitiesPath(); |
277 | 277 | $lastEntityFound = end($entities); |
278 | 278 | $this->removeStep($lastEntityFound); |
279 | - } catch(\Mado\QueryBundle\Component\Meta\Exceptions\UnexpectedValueException $e) { |
|
279 | + } catch (\Mado\QueryBundle\Component\Meta\Exceptions\UnexpectedValueException $e) { |
|
280 | 280 | $stay = false; |
281 | 281 | } |
282 | 282 |