Skip to content

Commit 7eab67f

Browse files
committed
minor symfony#19085 FormBuilderInterface: fix getForm() return type. (taueres)
This PR was merged into the 2.7 branch. Discussion ---------- FormBuilderInterface: fix getForm() return type. | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - FormBuilderInterface->getForm() should depend on abstractions and not implementations as a return type. Commits ------- 3fa081c FormBuilderInterface: fix getForm() return type.
2 parents 86552ea + 3fa081c commit 7eab67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/FormBuilderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function all();
8181
/**
8282
* Creates the form.
8383
*
84-
* @return Form The form
84+
* @return FormInterface The form
8585
*/
8686
public function getForm();
8787
}

0 commit comments

Comments
 (0)