@@ -65,7 +65,7 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | public function getResourceClassFromContext($value, array $context = null, bool $strict = false): string |
| 67 | 67 | { |
| 68 | - $resourceClass = $context['resource_class'] ?? null; |
|
| 68 | + $resourceClass = $context['resource_class'] ?? null; |
|
| 69 | 69 | |
| 70 | 70 | if (isset($context['subcollection_resource_class']) && null !== $context['subcollection_resource_class']) { |
| 71 | 71 | $resourceClass = $context['subcollection_resource_class']; |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | } |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - throw new RuntimeException('One of the following request attribute must be defined: '.implode(', ', array_map(function ($operationType) { |
|
| 64 | + throw new RuntimeException('One of the following request attribute must be defined: '.implode(', ', array_map(function($operationType) { |
|
| 65 | 65 | return "_api_{$operationType}_operation_name"; |
| 66 | 66 | }, OperationTypes::TYPES))); |
| 67 | 67 | } |