Skip to content

Commit

Permalink
Merge pull request #233 from NaokiTsuchiya/fix-type
Browse files Browse the repository at this point in the history
Fix return type of getConstructor
  • Loading branch information
koriym authored Feb 8, 2025
2 parents 211a52b + 323a70c commit 0eb646b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReflectionClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getMethods($filter = null): array
* @psalm-suppress MethodSignatureMismatch
* @psalm-external-mutation-free
*/
public function getConstructor(): ?ReflectionMethod
public function getConstructor(): ?\ReflectionMethod
{
$parent = parent::getConstructor();
if ($parent === null) {
Expand Down

0 comments on commit 0eb646b

Please sign in to comment.