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 e748dca commit fb70194Copy full SHA for fb70194
UPGRADING
@@ -60,6 +60,9 @@ PHP 8.1 UPGRADE NOTES
60
. Most non-final internal methods now require overriding methods to declare a
61
compatible return type, otherwise a deprecated notice is emitted during
62
inheritance validation.
63
+ In case the return type cannot be declared for an overriding method due to
64
+ PHP cross-version compatibility concerns, a `#[ReturnTypeWillChange]`
65
+ attribute can be added to silence the deprecation notice.
66
RFC: https://wiki.php.net/rfc/internal_method_return_types
67
68
- Fileinfo:
0 commit comments