@@ -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 | |
@@ -66,8 +66,8 @@ |
||
| 66 | 66 | return $this->title; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - public function getResourceNameCollection(): ResourceNameCollection { |
|
| 70 | - return $this->resourceNameCollection; |
|
| 71 | - } |
|
| 69 | + public function getResourceNameCollection(): ResourceNameCollection { |
|
| 70 | + return $this->resourceNameCollection; |
|
| 71 | + } |
|
| 72 | 72 | |
| 73 | 73 | } |
| 74 | 74 | \ No newline at end of file |