@@ -14,7 +14,6 @@ |
||
14 | 14 | use ApiPlatform\Core\Api\OperationMethodResolverInterface; |
15 | 15 | use ApiPlatform\Core\Api\ResourceClassResolverInterface; |
16 | 16 | use ApiPlatform\Core\Documentation\Documentation; |
17 | -use ApiPlatform\Core\Exception\InvalidArgumentException; |
|
18 | 17 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface; |
19 | 18 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface; |
20 | 19 | use ApiPlatform\Core\Metadata\Property\PropertyMetadata; |
@@ -145,7 +145,7 @@ |
||
145 | 145 | $actionName = sprintf('%s_%s', $operationName, $collection ? 'collection' : 'item'); |
146 | 146 | } |
147 | 147 | |
148 | - $path = $this->operationPathResolver->resolveOperationPath($resourceShortName, $operation, $collection); |
|
148 | + $path = $this->operationPathResolver->resolveOperationPath($resourceShortName, $operation, $collection); |
|
149 | 149 | |
150 | 150 | $resourceRouteName = Inflector::pluralize(Inflector::tableize($resourceShortName)); |
151 | 151 | $routeName = sprintf('%s%s_%s', self::ROUTE_NAME_PREFIX, $resourceRouteName, $actionName); |