8000 Improve notes · symfony/symfony-docs@267f59f · GitHub
[go: up one dir, main page]

Skip to content

Commit 267f59f

Browse files
committed
Improve notes
1 parent 936200c commit 267f59f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

contributing/code/bc.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,17 @@ Change value of a constant Yes [1]_ [5]_
279279
280280
.. [6] Allowed using the ``@final`` annotation.
281281
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.
285293
286294
.. _Semantic Versioning: http://semver.org/
287295
.. _scalar type: http://php.net/manual/en/function.is-scalar.php

0 commit comments

Comments
 (0)
0