@@ -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 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use ApiPlatform\Core\Api\IriConverterInterface; |
15 | 15 | use ApiPlatform\Core\Api\ResourceClassResolverInterface; |
16 | -use ApiPlatform\Core\Exception\RuntimeException; |
|
17 | 16 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface; |
18 | 17 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface; |
19 | 18 | use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface; |