@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AmaTeam\ElasticSearch\Entity\Annotation\Listener; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AmaTeam\ElasticSearch\Entity\Annotation\Listener; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AmaTeam\ElasticSearch\Entity; |
6 | 6 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * @inheritDoc |
65 | 65 | */ |
66 | - public function findHierarchy(string $name): ?array |
|
66 | + public function findHierarchy(string $name): ? array |
|
67 | 67 | { |
68 | 68 | $tip = $this->find($name); |
69 | 69 | if (!$tip) { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | |
104 | 104 | public function deregisterLoader(LoaderInterface $loader): ProviderInterface |
105 | 105 | { |
106 | - $this->loaders = array_filter($this->loaders, function ($item) use ($loader) { |
|
106 | + $this->loaders = array_filter($this->loaders, function($item) use ($loader) { |
|
107 | 107 | return $item !== $loader; |
108 | 108 | }); |
109 | 109 | return $this; |