@@ -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 | }; |
@@ -262,13 +262,13 @@ discard block |
||
| 262 | 262 | |
| 263 | 263 | public function findAllPathsTo(string $dest) |
| 264 | 264 | { |
| 265 | - for ($stay = true;;) { |
|
| 265 | + for ($stay = true; ;) { |
|
| 266 | 266 | try { |
| 267 | 267 | $this->getPathToEntity($dest); |
| 268 | 268 | $entities = $this->getEntitiesPath(); |
| 269 | 269 | $lastEntityFound = end($entities); |
| 270 | 270 | $this->removeStep($lastEntityFound); |
| 271 | - } catch(\Mado\QueryBundle\Component\Meta\Exceptions\UnespectedValueException $e) { |
|
| 271 | + } catch (\Mado\QueryBundle\Component\Meta\Exceptions\UnespectedValueException $e) { |
|
| 272 | 272 | $stay = false; |
| 273 | 273 | } |
| 274 | 274 | |