We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8376152 commit 91d9fc6Copy full SHA for 91d9fc6
Forms.php
@@ -105,7 +105,7 @@ final class Forms
105
*
106
* @return FormFactoryInterface The form factory
107
*/
108
- public static function createFormFactory()
+ public static function createFormFactory(): FormFactoryInterface
109
{
110
return self::createFormFactoryBuilder()->getFormFactory();
111
}
@@ -115,7 +115,7 @@ public static function createFormFactory()
115
116
* @return FormFactoryBuilderInterface The form factory builder
117
118
- public static function createFormFactoryBuilder()
+ public static function createFormFactoryBuilder(): FormFactoryBuilderInterface
119
120
$builder = new FormFactoryBuilder();
121
$builder->addExtension(new CoreExtension());
0 commit comments