diff --git a/Classes/Domain/Component/PropType/IsComponent.php b/Classes/Domain/Component/PropType/IsComponent.php index 36ba168..da97ac1 100644 --- a/Classes/Domain/Component/PropType/IsComponent.php +++ b/Classes/Domain/Component/PropType/IsComponent.php @@ -14,9 +14,7 @@ */ final class IsComponent { - /** - * @param \ReflectionClass $reflectionClass - */ + /** @phpstan-ignore-next-line */ public static function isSatisfiedByReflectionClass(\ReflectionClass $reflectionClass): bool { return self::isSatisfiedByClassName($reflectionClass->getName()); diff --git a/Classes/Domain/Component/Props.php b/Classes/Domain/Component/Props.php index f1cb793..19ae274 100644 --- a/Classes/Domain/Component/Props.php +++ b/Classes/Domain/Component/Props.php @@ -78,9 +78,9 @@ public static function fromClassName(string $className): self } /** - * @param \ReflectionClass $reflectionClass * @return array */ + /** @phpstan-ignore-next-line */ private static function extractPropsFromReflectionClass(\ReflectionClass $reflectionClass): array { $parentReflectionClass = $reflectionClass->getParentClass();