You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -69,13 +71,13 @@ public function create(string $resourceClass): ResourceMetadataCollection
69
71
// No item operation has been found on all resources for resource class: generate one on the last resource
70
72
// Helpful to generate an IRI for a resource without declaring the Get operation
71
73
/** @var HttpOperation $operation */
72
-
$operation = (newNotExposed())->withClass($resource->getClass())->withShortName($resource->getShortName()); // @phpstan-ignore-line $resource is defined if count > 0
74
+
[$key, $operation] = $this->getOperationWithDefaults($resource, newNotExposed(), true, ['uriTemplate']); // @phpstan-ignore-line $resource is defined if count > 0
73
75
74
76
if (!$this->linkFactory->createLinksFromIdentifiers($operation)) {
0 commit comments