Skip to content

Commit 91d9fc6

Browse files
author
Robin Chalas
committed
Add scalar typehints/return types on final/internal/private code
1 parent 8376152 commit 91d9fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Forms.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ final class Forms
105105
*
106106
* @return FormFactoryInterface The form factory
107107
*/
108-
public static function createFormFactory()
108+
public static function createFormFactory(): FormFactoryInterface
109109
{
110110
return self::createFormFactoryBuilder()->getFormFactory();
111111
}
@@ -115,7 +115,7 @@ public static function createFormFactory()
115115
*
116116
* @return FormFactoryBuilderInterface The form factory builder
117117
*/
118-
public static function createFormFactoryBuilder()
118+
public static function createFormFactoryBuilder(): FormFactoryBuilderInterface
119119
{
120120
$builder = new FormFactoryBuilder();
121121
$builder->addExtension(new CoreExtension());

0 commit comments

Comments
 (0)