From 44bec471ede621a8191aa9d625adb79d7bf03ee3 Mon Sep 17 00:00:00 2001 From: lukmzig <30526586+lukmzig@users.noreply.github.com> Date: Tue, 21 Jan 2025 08:05:07 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- .../Data/Adapter/AdvancedManyToManyObjectRelationAdapter.php | 3 +-- .../Data/Adapter/AdvancedManyToManyRelationAdapter.php | 3 +-- src/DataObject/Util/Trait/RelationDataTrait.php | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/DataObject/Data/Adapter/AdvancedManyToManyObjectRelationAdapter.php b/src/DataObject/Data/Adapter/AdvancedManyToManyObjectRelationAdapter.php index 778f5804..96790771 100644 --- a/src/DataObject/Data/Adapter/AdvancedManyToManyObjectRelationAdapter.php +++ b/src/DataObject/Data/Adapter/AdvancedManyToManyObjectRelationAdapter.php @@ -64,8 +64,7 @@ public function getDataForSetter( public function normalize( mixed $value, Data $fieldDefinition - ): ?array - { + ): ?array { if (!is_array($value)) { return null; } diff --git a/src/DataObject/Data/Adapter/AdvancedManyToManyRelationAdapter.php b/src/DataObject/Data/Adapter/AdvancedManyToManyRelationAdapter.php index e5fdd454..75c3f31e 100644 --- a/src/DataObject/Data/Adapter/AdvancedManyToManyRelationAdapter.php +++ b/src/DataObject/Data/Adapter/AdvancedManyToManyRelationAdapter.php @@ -66,8 +66,7 @@ public function getDataForSetter( public function normalize( mixed $value, Data $fieldDefinition - ): ?array - { + ): ?array { if (!is_array($value)) { return null; } diff --git a/src/DataObject/Util/Trait/RelationDataTrait.php b/src/DataObject/Util/Trait/RelationDataTrait.php index 97c5fb5a..d6674054 100644 --- a/src/DataObject/Util/Trait/RelationDataTrait.php +++ b/src/DataObject/Util/Trait/RelationDataTrait.php @@ -33,6 +33,7 @@ trait RelationDataTrait /** * @param ElementInterface[] $relations + * * @return RelationData[] */ private function getRelationElementsData(array $relations): array