@@ -22,7 +22,6 @@ |
||
22 | 22 | use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface; |
23 | 23 | use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface; |
24 | 24 | use ApiPlatform\Core\Metadata\Resource\ResourceMetadata; |
25 | -use ApiPlatform\Core\Metadata\Resource\ResourceNameCollection; |
|
26 | 25 | use Symfony\Component\PropertyInfo\Type; |
27 | 26 | use Symfony\Component\Serializer\Normalizer\NormalizerInterface; |
28 | 27 |
@@ -427,6 +427,6 @@ |
||
427 | 427 | */ |
428 | 428 | public function supportsNormalization($data, $format = null, array $context = []) |
429 | 429 | { |
430 | - return self::FORMAT === $format && $data instanceof Documentation;; |
|
430 | + return self::FORMAT === $format && $data instanceof Documentation; ; |
|
431 | 431 | } |
432 | 432 | } |
@@ -14,7 +14,6 @@ discard block |
||
14 | 14 | use ApiPlatform\Core\Api\IriConverterInterface; |
15 | 15 | use ApiPlatform\Core\Api\OperationMethodResolverInterface; |
16 | 16 | use ApiPlatform\Core\Api\ResourceClassResolverInterface; |
17 | -use ApiPlatform\Core\Documentation\ApiDocumentationBuilderInterface; |
|
18 | 17 | use ApiPlatform\Core\Documentation\Documentation; |
19 | 18 | use ApiPlatform\Core\Exception\InvalidArgumentException; |
20 | 19 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface; |
@@ -23,7 +22,6 @@ discard block |
||
23 | 22 | use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface; |
24 | 23 | use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface; |
25 | 24 | use ApiPlatform\Core\Metadata\Resource\ResourceMetadata; |
26 | -use ApiPlatform\Core\Metadata\Resource\ResourceNameCollection; |
|
27 | 25 | use Symfony\Component\PropertyInfo\Type; |
28 | 26 | use Symfony\Component\Serializer\Normalizer\NormalizerInterface; |
29 | 27 |
@@ -29,8 +29,8 @@ |
||
29 | 29 | $this->resourceNameCollection = $resourceNameCollection; |
30 | 30 | } |
31 | 31 | |
32 | - public function getResourceNameCollection() { |
|
33 | - return $this->resourceNameCollection; |
|
34 | - } |
|
32 | + public function getResourceNameCollection() { |
|
33 | + return $this->resourceNameCollection; |
|
34 | + } |
|
35 | 35 | |
36 | 36 | } |
37 | 37 | \ No newline at end of file |