From 0cb80a3d3e0716ec382a388d00e19a483b437bac Mon Sep 17 00:00:00 2001 From: alexz707 Date: Tue, 5 Mar 2024 13:34:14 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/Dto/Asset/MetaData.php | 6 +++--- src/Service/GenericData/V1/Hydrator/AssetHydrator.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Dto/Asset/MetaData.php b/src/Dto/Asset/MetaData.php index 0bd03fec7..cbdf1affa 100644 --- a/src/Dto/Asset/MetaData.php +++ b/src/Dto/Asset/MetaData.php @@ -19,10 +19,10 @@ readonly class MetaData { public function __construct( - private string $name, + private string $name, private ?string $language, - private string $type, - private mixed $data, + private string $type, + private mixed $data, ) { } diff --git a/src/Service/GenericData/V1/Hydrator/AssetHydrator.php b/src/Service/GenericData/V1/Hydrator/AssetHydrator.php index 9d00296c0..18625247c 100644 --- a/src/Service/GenericData/V1/Hydrator/AssetHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/AssetHydrator.php @@ -16,7 +16,6 @@ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; - use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\AssetSearchResultItem; use Pimcore\Bundle\StudioApiBundle\Dto\Asset; use Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset\MetaDataHydratorInterface;