@@ -204,7 +204,7 @@ Change name No
204204Move to parent interface Yes
205205Add argument without a default value No
206206Add argument with a default value No
207- Remove argument Yes [3 ]_
207+ Remove argument No [3 ]_
208208Add default value to an argument No
209209Remove default value of an argument No
210210Add type hint to an argument No
@@ -272,7 +272,7 @@ Make final No [6]_
272272Move to parent class Yes
273273Add argument without a default value No
274274Add argument with a default value No [7 ]_ [8 ]_
275- Remove argument Yes [3 ]_
275+ Remove argument No [3 ]_
276276Add default value to an argument No [7 ]_ [8 ]_
277277Remove default value of an argument No
278278Add type hint to an argument No [7 ]_ [8 ]_
@@ -291,7 +291,7 @@ Make public No [7]_ [8]_
291291Move to parent class Yes
292292Add argument without a default value No [7 ]_
293293Add argument with a default value No [7 ]_ [8 ]_
294- Remove argument Yes [3 ]_
294+ Remove argument No [3 ]_
295295Add default value to an argument No [7 ]_ [8 ]_
296296Remove default value of an argument No [7 ]_
297297Add type hint to an argument No [7 ]_ [8 ]_
@@ -416,8 +416,8 @@ Turn static into non static No
416416 .. [2 ] The added parent interface must not introduce any new methods that don't
417417 exist in the interface already.
418418
419- .. [3 ] Only the last argument(s) of a method may be removed, as PHP does not
420- care about additional arguments that you pass to a method.
419+ .. [3 ] Only the last optional argument(s) of a method may be removed, as PHP
420+ does not care about additional arguments that you pass to a method.
421421
422422 .. [4 ] When changing the parent class, the original parent class must remain an
423423 ancestor of the class.
0 commit comments