@@ -133,7 +133,6 @@ |
||
| 133 | 133 | * @param string $operationName |
| 134 | 134 | * @param array $operation |
| 135 | 135 | * @param string $resourceShortName |
| 136 | - * @param bool $collection |
|
| 137 | 136 | * |
| 138 | 137 | * @throws RuntimeException |
| 139 | 138 | */ |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | * @param ManagerRegistry $managerRegistry |
| 38 | 38 | * @param PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory |
| 39 | 39 | * @param PropertyMetadataFactoryInterface $propertyMetadataFactory |
| 40 | - * @param QueryItemExtensionInterface[] $itemExtensions |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct(ManagerRegistry $managerRegistry, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, array $collectionExtensions = []) |
| 43 | 42 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | |
| 178 | 178 | /** |
| 179 | 179 | * @param \ArrayObject $pathOperation |
| 180 | - * @param array $mimeTypes |
|
| 180 | + * @param string[] $mimeTypes |
|
| 181 | 181 | * @param string $operationType |
| 182 | 182 | * @param ResourceMetadata $resourceMetadata |
| 183 | 183 | * @param string $resourceClass |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | |
| 233 | 233 | /** |
| 234 | 234 | * @param \ArrayObject $pathOperation |
| 235 | - * @param array $mimeTypes |
|
| 235 | + * @param string[] $mimeTypes |
|
| 236 | 236 | * @param string $operationType |
| 237 | 237 | * @param ResourceMetadata $resourceMetadata |
| 238 | 238 | * @param string $resourceClass |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | |
| 268 | 268 | /** |
| 269 | 269 | * @param \ArrayObject $pathOperation |
| 270 | - * @param array $mimeTypes |
|
| 270 | + * @param string[] $mimeTypes |
|
| 271 | 271 | * @param string $operationType |
| 272 | 272 | * @param ResourceMetadata $resourceMetadata |
| 273 | 273 | * @param string $resourceClass |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | if (false === $hasRequestAttributeKey) { |
| 65 | - throw new RuntimeException('One of the following request attribute must be defined: '.implode(', ', array_map(function ($operationType) { |
|
| 65 | + throw new RuntimeException('One of the following request attribute must be defined: '.implode(', ', array_map(function($operationType) { |
|
| 66 | 66 | return "_api_{$operationType}_operation_name"; |
| 67 | 67 | }, OperationTypes::TYPES))); |
| 68 | 68 | } |