|
@@ -91,7 +91,7 @@ |
|
|
block discarded – undo |
|
91
|
91
|
return $context; |
|
92
|
92
|
} |
|
93
|
93
|
$subject = $request->attributes->get('_api_resource_class'); |
|
94
|
|
- $isItem = (bool)$request->attributes->get('_api_item_operation_name'); |
|
|
94
|
+ $isItem = (bool) $request->attributes->get('_api_item_operation_name'); |
|
95
|
95
|
$groups = $this->getGroups($subject, $normalization, $isItem); |
|
96
|
96
|
if (\count($groups)) { |
|
97
|
97
|
$context['groups'] = array_merge($context['groups'] ?? [], ...$groups); |
Please login to merge, or discard this patch.