Update canbepassedbyvalue.xml#5563
Conversation
Fix inaccurate return type description as per https://github.com/php/php-src/blob/master/ext/reflection/php_reflection.c?utm_source=chatgpt.com#L2872
|
Removing this line would be correct, as this method never officially returned While you're at it, could you also convert this Before PHP 8, passing an argument when the signature did not allow one resulted in a warning and a null return value. Since PHP 8, an |
|
Thank you! |
|
@jordikroon quick question - are other languages handled in a similar manner, with a PR in their respective repo? (or is there some quicker way to mass-updated them?) |
|
You could create a PR for the other languages if you are willing to do so. Those are more than welcome. Generally speaking the translations follow the upstream (en) and are managed specialised contributors. |
Fix inaccurate return type description as per:
https://github.com/php/php-src/blob/master/ext/reflection/php_reflection.c#L2872 (master)
It seems it might have returned null in the past:
https://github.com/php/php-src/blob/PHP-7.3.19/ext/reflection/php_reflection.c#L2690 (PHP 7.3).
How do we best handle this?