Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0acf9e1

Browse filesBrowse files
committed
minor #28916 [Form] Fix @method annotation (ro0NL)
This PR was squashed before being merged into the 4.2-dev branch (closes #28916). Discussion ---------- [Form] Fix @method annotation | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Same as #28915 for 4.2 (these are the only occurrences for interfaces) Actually provides a use case for #28902 (comment) 🎉 Commits ------- 13f0db7 [Form] Fix @method annotation
2 parents 3abb993 + 13f0db7 commit 0acf9e1
Copy full SHA for 0acf9e1

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Form/FormTypeExtensionInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/FormTypeExtensionInterface.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Bernhard Schussek <bschussek@gmail.com>
1818
*
19-
* @method getExtendedTypes(): iterable
19+
* @method static iterable getExtendedTypes() Gets the extended types - not implementing it is deprecated since Symfony 4.2
2020
*/
2121
interface FormTypeExtensionInterface
2222
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.