@@ -139,7 +139,7 @@ |
||
| 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 | { |
@@ -11,15 +11,9 @@ |
||
| 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. |