@@ -139,7 +139,7 @@ |
||
139 | 139 | * |
140 | 140 | * @param string $property |
141 | 141 | * |
142 | - * @return array |
|
142 | + * @return string |
|
143 | 143 | */ |
144 | 144 | protected function splitPropertyParts(string $property) : array |
145 | 145 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | * Converts {@see \Symfony\Component\Validator\ConstraintViolationListInterface} the API Problem spec (RFC 7807). |
19 | 19 | * |
20 | 20 | * @see https://tools.ietf.org/html/rfc7807 |
21 | - |
|
22 | 21 | * @author Kévin Dunglas <[email protected]> |
23 | 22 | */ |
24 | 23 | final class ConstraintViolationListNormalizer implements NormalizerInterface |
@@ -53,7 +53,7 @@ |
||
53 | 53 | $queryBuilder = $repository->createQueryBuilder('o'); |
54 | 54 | $queryNameGenerator = new QueryNameGenerator(); |
55 | 55 | foreach ($this->collectionExtensions as $extension) { |
56 | - $extension->applyToCollection($queryBuilder, $queryNameGenerator, $resourceClass, $operationName); |
|
56 | + $extension->applyToCollection($queryBuilder, $queryNameGenerator, $resourceClass, $operationName); |
|
57 | 57 | |
58 | 58 | if ($extension instanceof QueryResultExtensionInterface) { |
59 | 59 | if ($extension->supportsResult($resourceClass, $operationName)) { |