From 720bc9457b8236a2bb43062bff48676dd140ebb9 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Mon, 13 May 2024 14:34:54 +0200 Subject: [PATCH] IBX-7935: Removed unnecessary annotations --- src/bundle/Controller/UserController.php | 1 - src/lib/Event/ContentCreateFieldOptionsEvent.php | 1 - src/lib/Event/StructFieldOptionsEvent.php | 2 -- src/lib/Event/UserUpdateFieldOptionsEvent.php | 2 -- 4 files changed, 6 deletions(-) diff --git a/src/bundle/Controller/UserController.php b/src/bundle/Controller/UserController.php index 7e7ffc3a..5755588b 100644 --- a/src/bundle/Controller/UserController.php +++ b/src/bundle/Controller/UserController.php @@ -54,7 +54,6 @@ class UserController extends Controller /** @var \Ibexa\Contracts\ContentForms\Content\Form\Provider\GroupedContentFormFieldsProviderInterface */ private $groupedContentFormFieldsProvider; - /** @var \Ibexa\Contracts\Core\Repository\ContentService */ private ContentService $contentService; public function __construct( diff --git a/src/lib/Event/ContentCreateFieldOptionsEvent.php b/src/lib/Event/ContentCreateFieldOptionsEvent.php index a48e93e2..d95d93d3 100644 --- a/src/lib/Event/ContentCreateFieldOptionsEvent.php +++ b/src/lib/Event/ContentCreateFieldOptionsEvent.php @@ -14,7 +14,6 @@ final class ContentCreateFieldOptionsEvent extends StructFieldOptionsEvent { - /** @var \Ibexa\Contracts\Core\Repository\Values\Content\ContentCreateStruct */ private $contentCreateStruct; public function __construct( diff --git a/src/lib/Event/StructFieldOptionsEvent.php b/src/lib/Event/StructFieldOptionsEvent.php index 5a1b4c27..b3a15e8a 100644 --- a/src/lib/Event/StructFieldOptionsEvent.php +++ b/src/lib/Event/StructFieldOptionsEvent.php @@ -14,10 +14,8 @@ abstract class StructFieldOptionsEvent extends Event { - /** @var \Symfony\Component\Form\FormInterface */ protected FormInterface $parentForm; - /** @var \Ibexa\Contracts\ContentForms\Data\Content\FieldData */ protected FieldData $fieldData; /** @var array */ diff --git a/src/lib/Event/UserUpdateFieldOptionsEvent.php b/src/lib/Event/UserUpdateFieldOptionsEvent.php index aa1fc884..55a32c5b 100644 --- a/src/lib/Event/UserUpdateFieldOptionsEvent.php +++ b/src/lib/Event/UserUpdateFieldOptionsEvent.php @@ -15,10 +15,8 @@ final class UserUpdateFieldOptionsEvent extends StructFieldOptionsEvent { - /** @var \Ibexa\Contracts\Core\Repository\Values\Content\Content */ private Content $content; - /** @var \Ibexa\Contracts\Core\Repository\Values\User\UserUpdateStruct */ private UserUpdateStruct $userUpdateStruct; public function __construct(