1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Merge pull request #9052 from kukulich/patch-5

Fix `ReflectionMethod::getModifiers()` stub
This commit is contained in:
orklah 2023-01-03 23:17:09 +01:00 committed by GitHub
commit f978594157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -574,7 +574,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract
* @return int-mask-of<ReflectionMethod::IS_*>
* @psalm-pure
*/
public function getModifiers(): bool {}
public function getModifiers(): int {}
/** @psalm-pure */
public function getDeclaringClass(): ReflectionClass {}