Skip to content

Commit d139d82

Browse files
authored
Merge pull request #2001 from jewome62/feature/remove-unused-trait
Remove unused trait into Hydra Serializer
2 parents 09bbfbe + dd1cbbb commit d139d82

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Hydra/Serializer/CollectionFiltersNormalizer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use ApiPlatform\Core\Api\FilterInterface;
1818
use ApiPlatform\Core\Api\FilterLocatorTrait;
1919
use ApiPlatform\Core\Api\ResourceClassResolverInterface;
20-
use ApiPlatform\Core\JsonLd\Serializer\JsonLdContextTrait;
2120
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface;
2221
use Psr\Container\ContainerInterface;
2322
use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface;
@@ -30,7 +29,6 @@
3029
*/
3130
final class CollectionFiltersNormalizer implements NormalizerInterface, NormalizerAwareInterface
3231
{
33-
use JsonLdContextTrait;
3432
use FilterLocatorTrait;
3533

3634
private $collectionNormalizer;

src/Hydra/Serializer/PartialCollectionViewNormalizer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
use ApiPlatform\Core\DataProvider\PaginatorInterface;
1717
use ApiPlatform\Core\DataProvider\PartialPaginatorInterface;
18-
use ApiPlatform\Core\JsonLd\Serializer\JsonLdContextTrait;
1918
use ApiPlatform\Core\Util\IriHelper;
2019
use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface;
2120
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
@@ -28,8 +27,6 @@
2827
*/
2928
final class PartialCollectionViewNormalizer implements NormalizerInterface, NormalizerAwareInterface
3029
{
31-
use JsonLdContextTrait;
32-
3330
private $collectionNormalizer;
3431
private $pageParameterName;
3532
private $enabledParameterName;

0 commit comments

Comments
 (0)