Completed
Pull Request — master (#772)
by Kévin
03:10
created
src/Hydra/Serializer/DocumentationNormalizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      *
140 140
      * @param string $property
141 141
      *
142
-     * @return array
142
+     * @return string
143 143
      */
144 144
     protected function splitPropertyParts(string $property) : array
145 145
     {
Please login to merge, or discard this patch.
src/Hal/Serializer/ItemNormalizer.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -11,15 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace ApiPlatform\Core\Hal\Serializer;
13 13
 
14
-use ApiPlatform\Core\Api\IriConverterInterface;
15
-use ApiPlatform\Core\Api\ResourceClassResolverInterface;
16 14
 use ApiPlatform\Core\Exception\RuntimeException;
17
-use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface;
18
-use ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface;
19 15
 use ApiPlatform\Core\Serializer\AbstractItemNormalizer;
20 16
 use ApiPlatform\Core\Serializer\ContextTrait;
21
-use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
22
-use Symfony\Component\Serializer\NameConverter\NameConverterInterface;
23 17
 
24 18
 /**
25 19
  * Converts between objects and array including HAL metadata.
Please login to merge, or discard this patch.