@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $this->pageDataMetadataProvider = $pageDataMetadataProvider; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null |
|
| 37 | + public function provide(Operation $operation, array $uriVariables = [], array $context = []): object | array | null |
|
| 38 | 38 | { |
| 39 | 39 | if ($operation instanceof CollectionOperationInterface) { |
| 40 | 40 | return $this->pageDataMetadataProvider->createAll(); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | $this->requestStack = $requestStack; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null |
|
| 36 | + public function provide(Operation $operation, array $uriVariables = [], array $context = []): object | array | null |
|
| 37 | 37 | { |
| 38 | 38 | $request = $this->requestStack->getCurrentRequest(); |
| 39 | 39 | if (!$request || !($id = $request->attributes->get('id'))) { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $this->defaultProvider = $defaultProvider; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null |
|
| 37 | + public function provide(Operation $operation, array $uriVariables = [], array $context = []): object | array | null |
|
| 38 | 38 | { |
| 39 | 39 | $id = $uriVariables['id']; |
| 40 | 40 | |