From 56c3d1648575a68273c67480b88445f5a10f0d53 Mon Sep 17 00:00:00 2001 From: lukmzig Date: Thu, 28 Nov 2024 09:09:35 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/DataObject/Data/Adapter/EncryptedFieldAdapter.php | 3 +-- src/DataObject/Service/DataServiceInterface.php | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/DataObject/Data/Adapter/EncryptedFieldAdapter.php b/src/DataObject/Data/Adapter/EncryptedFieldAdapter.php index af28f2d1..445772f6 100644 --- a/src/DataObject/Data/Adapter/EncryptedFieldAdapter.php +++ b/src/DataObject/Data/Adapter/EncryptedFieldAdapter.php @@ -70,8 +70,7 @@ private function handleDelegatedField( string $key, array $data, ?FieldContextData $contextData = null - ): ?EncryptedField - { + ): ?EncryptedField { $adapter = $this->dataAdapterService->tryDataAdapter($fieldDefinition->getFieldType()); if ($adapter instanceof SetterDataInterface) { return new EncryptedField( diff --git a/src/DataObject/Service/DataServiceInterface.php b/src/DataObject/Service/DataServiceInterface.php index ed0b497d..8ebc53b6 100644 --- a/src/DataObject/Service/DataServiceInterface.php +++ b/src/DataObject/Service/DataServiceInterface.php @@ -17,7 +17,6 @@ namespace Pimcore\Bundle\StudioBackendBundle\DataObject\Service; use Pimcore\Bundle\StudioBackendBundle\DataObject\Data\ClassData; -use Pimcore\Bundle\StudioBackendBundle\DataObject\Data\FieldContextData; use Pimcore\Bundle\StudioBackendBundle\Exception\Api\NotFoundException; use Pimcore\Model\DataObject\ClassDefinition\Data; use Pimcore\Model\DataObject\Concrete;