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;