|
@@ -33,7 +33,7 @@ |
|
|
block discarded – undo |
|
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'))) { |
Please login to merge, or discard this patch.