[php-src] PR #16218: `PhpToken::is()`: switch `@param` to typehint
| From: | DanielEScherzer | Date: | Fri, 04 Oct 2024 04:40:43 +0000 |
| Subject: | [php-src] PR #16218: `PhpToken::is()`: switch `@param` to typehint | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28998@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16218
Author: DanielEScherzer
The type is enforced, and
TypeErrors are already thrown, but the information about the
required type is not provided to Reflection. Replace the @param comment with a real
typehint so that the information is also available via Reflection.