Skip to content

Commit 5a6a4e2

Browse files
author
Kiyotaka Oku
authored
Merge pull request #109 from chihiro-adachi/fix-form-type-extention
staticメソッドに更新
2 parents 993c51e + ca44863 commit 5a6a4e2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Form/Extension/CustomerMailMagazineTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getExtendedType()
7474
*
7575
* @return string[]
7676
*/
77-
public function getExtendedTypes()
77+
public static function getExtendedTypes()
7878
{
7979
yield CustomerType::class;
8080
}

Form/Extension/EntryMailMagazineTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function getExtendedType()
9595
*
9696
* @return string[]
9797
*/
98-
public function getExtendedTypes()
98+
public static function getExtendedTypes()
9999
{
100100
yield EntryType::class;
101101
}

0 commit comments

Comments
 (0)