File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -279,9 +279,17 @@ Change value of a constant Yes [1]_ [5]_
279
279
280
280
.. [6 ] Allowed using the ``@final `` annotation.
281
281
282
- .. [7 ] Allowed if the class is final.
283
-
284
- .. [8 ] Allowed if the method is final.
282
+ .. [7 ] Allowed if the class is final. Classes that received the `@final `
283
+ annotation after their first release are considered final in their
284
+ next major version.
285
+ Changing an argument type is only possible with a parent type.
286
+ Changing a return type is only possible with a child type.
287
+
288
+ .. [8 ] Allowed if the method is final. Methods that received the `@final `
289
+ annotation after their first release are considered final in their
290
+ next major version.
291
+ Changing an argument type is only possible with a parent type.
292
+ Changing a return type is only possible with a child type.
285
293
286
294
.. _Semantic Versioning : http://semver.org/
287
295
.. _scalar type : http://php.net/manual/en/function.is-scalar.php
You can’t perform that action at this time.
0 commit comments