Completed
Pull Request — master (#785)
by Amrouche
03:16
created
src/JsonApi/Serializer/ItemNormalizer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.