Completed
Pull Request — master (#666)
by Guilh
03:19
created
src/Swagger/DocumentationNormalizer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Bridge/Symfony/Routing/ApiLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.