From 9da6b3f094866c5fdfca3d078f2d57ceeaee6378 Mon Sep 17 00:00:00 2001 From: Andreas Hennings Date: Thu, 6 Jan 2022 01:55:55 +0100 Subject: [PATCH] Issue #6618: All reflection classes should implement Reflector. --- stubs/Reflection.phpstub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/Reflection.phpstub b/stubs/Reflection.phpstub index ece7ca8ae6d..15df6c68d3b 100644 --- a/stubs/Reflection.phpstub +++ b/stubs/Reflection.phpstub @@ -103,7 +103,7 @@ class ReflectionMethod implements Reflector public function isStatic(): bool {} } -class ReflectionClassConstant +class ReflectionClassConstant implements Reflector { /** * @since 8.0 @@ -117,7 +117,7 @@ class ReflectionClassConstant /** * @psalm-immutable */ -class ReflectionParameter { +class ReflectionParameter implements Reflector { /** * @psalm-assert-if-true ReflectionType $this->getType() */