[php-src] PR #13137: Improve error messages related to void/never return types of methods
| From: | kocsismate | Date: | Sat, 13 Jan 2024 09:11:09 +0000 |
| Subject: | [php-src] PR #13137: Improve error messages related to void/never return types of methods | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24751@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13137
Author: kocsismate
This PR clarifies some compile-time (as well as one run-time) error messages to highlight that they
are related to methods or functions.
When I first encountered one of these error messages at work (when dealing with a method), I was
left surprised whether I did something wrong or there is some error in PHP, while only the error
message were somewhat unclear.