@@ -34,8 +34,6 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param QueryBuilder $queryBuilder |
37 | - * @param string $resourceClass |
|
38 | - * @param string|null $operationName |
|
39 | 37 | * |
40 | 38 | * @return mixed |
41 | 39 | */ |
@@ -34,8 +34,6 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param QueryBuilder $queryBuilder |
37 | - * @param string $resourceClass |
|
38 | - * @param string|null $operationName |
|
39 | 37 | * |
40 | 38 | * @return mixed |
41 | 39 | */ |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Serializer; |
15 | 15 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $this->itemDataProvider = $itemDataProvider; |
60 | 60 | $this->allowPlainIdentifiers = $allowPlainIdentifiers; |
61 | 61 | |
62 | - $this->setCircularReferenceHandler(function ($object) { |
|
62 | + $this->setCircularReferenceHandler(function($object) { |
|
63 | 63 | return $this->iriConverter->getIriFromItem($object); |
64 | 64 | }); |
65 | 65 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\JsonApi\EventListener; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\JsonApi\EventListener; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\DataPersister; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Doctrine\Common; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\DataPersister; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Filter; |
15 | 15 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, string $orderParameterName = 'order', LoggerInterface $logger = null, array $properties = null) |
57 | 57 | { |
58 | 58 | if (null !== $properties) { |
59 | - $properties = array_map(function ($propertyOptions) { |
|
59 | + $properties = array_map(function($propertyOptions) { |
|
60 | 60 | // shorthand for default direction |
61 | 61 | if (\is_string($propertyOptions)) { |
62 | 62 | $propertyOptions = [ |