We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f50aa7 commit 09aacf9Copy full SHA for 09aacf9
src/Util/AttributesExtractor.php
@@ -32,10 +32,6 @@ private function __construct()
32
*/
33
public static function extractAttributes(array $attributes): array
34
{
35
- if (($attributes['_api_operation'] ?? null) && !isset($attributes['_api_resource_class'])) {
36
- $attributes['_api_resource_class'] = $attributes['_api_operation']->getClass();
37
- }
38
-
39
$result = ['resource_class' => $attributes['_api_resource_class'] ?? null, 'has_composite_identifier' => $attributes['_api_has_composite_identifier'] ?? false];
40
41
if (null === $result['resource_class']) {
0 commit comments