[php-src] PR #16216: ReflectionParameter::__construct(): switch `@param` to typehint
| From: | DanielEScherzer | Date: | Fri, 04 Oct 2024 04:21:22 +0000 |
| Subject: | [php-src] PR #16216: ReflectionParameter::__construct(): switch `@param` to typehint | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28997@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16216
Author: DanielEScherzer
The type is checked (though for values of the wrong type a
ReflectionException is
thrown rather than a TypeError), 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.