From ca448632ff0e35709b0c5f82a14295fbd76cb7cd Mon Sep 17 00:00:00 2001 From: Chihiro Adachi <8196725+chihiro-adachi@users.noreply.github.com> Date: Thu, 12 Aug 2021 17:00:02 +0900 Subject: [PATCH] =?UTF-8?q?static=E3=83=A1=E3=82=BD=E3=83=83=E3=83=89?= =?UTF-8?q?=E3=81=AB=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Form/Extension/CustomerMailMagazineTypeExtension.php | 2 +- Form/Extension/EntryMailMagazineTypeExtension.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Form/Extension/CustomerMailMagazineTypeExtension.php b/Form/Extension/CustomerMailMagazineTypeExtension.php index abd2e99..cf6b8aa 100644 --- a/Form/Extension/CustomerMailMagazineTypeExtension.php +++ b/Form/Extension/CustomerMailMagazineTypeExtension.php @@ -74,7 +74,7 @@ public function getExtendedType() * * @return string[] */ - public function getExtendedTypes() + public static function getExtendedTypes() { yield CustomerType::class; } diff --git a/Form/Extension/EntryMailMagazineTypeExtension.php b/Form/Extension/EntryMailMagazineTypeExtension.php index 2655900..7783c91 100644 --- a/Form/Extension/EntryMailMagazineTypeExtension.php +++ b/Form/Extension/EntryMailMagazineTypeExtension.php @@ -95,7 +95,7 @@ public function getExtendedType() * * @return string[] */ - public function getExtendedTypes() + public static function getExtendedTypes() { yield EntryType::class; }