@@ -204,7 +204,7 @@ Change name No
204
204
Move to parent interface Yes
205
205
Add argument without a default value No
206
206
Add argument with a default value No
207
- Remove argument Yes [3 ]_
207
+ Remove argument No [3 ]_
208
208
Add default value to an argument No
209
209
Remove default value of an argument No
210
210
Add type hint to an argument No
@@ -272,7 +272,7 @@ Make final No [6]_
272
272
Move to parent class Yes
273
273
Add argument without a default value No
274
274
Add argument with a default value No [7 ]_ [8 ]_
275
- Remove argument Yes [3 ]_
275
+ Remove argument No [3 ]_
276
276
Add default value to an argument No [7 ]_ [8 ]_
277
277
Remove default value of an argument No
278
278
Add type hint to an argument No [7 ]_ [8 ]_
@@ -291,7 +291,7 @@ Make public No [7]_ [8]_
291
291
Move to parent class Yes
292
292
Add argument without a default value No [7 ]_
293
293
Add argument with a default value No [7 ]_ [8 ]_
294
- Remove argument Yes [3 ]_
294
+ Remove argument No [3 ]_
295
295
Add default value to an argument No [7 ]_ [8 ]_
296
296
Remove default value of an argument No [7 ]_
297
297
Add type hint to an argument No [7 ]_ [8 ]_
@@ -416,8 +416,8 @@ Turn static into non static No
416
416
.. [2 ] The added parent interface must not introduce any new methods that don't
417
417
exist in the interface already.
418
418
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.
421
421
422
422
.. [4 ] When changing the parent class, the original parent class must remain an
423
423
ancestor of the class.
0 commit comments