@@ -215,7 +215,7 @@ |
||
| 215 | 215 | * @param string|null $format |
| 216 | 216 | * @param array $context |
| 217 | 217 | * |
| 218 | - * @return bool|string |
|
| 218 | + * @return string|false |
|
| 219 | 219 | */ |
| 220 | 220 | private function getCacheKey(string $format = null, array $context) |
| 221 | 221 | { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface; |
| 18 | 18 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface; |
| 19 | 19 | use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface; |
| 20 | -use ApiPlatform\Core\Metadata\Resource\ResourceMetadata; |
|
| 21 | 20 | use ApiPlatform\Core\Serializer\AbstractItemNormalizer; |
| 22 | 21 | use ApiPlatform\Core\Serializer\ContextTrait; |
| 23 | 22 | use Symfony\Component\PropertyAccess\PropertyAccessorInterface; |