diff --git a/src/Attribute/TargetAttribute.php b/src/Attribute/TargetAttribute.php index 6020f21..60c3712 100644 --- a/src/Attribute/TargetAttribute.php +++ b/src/Attribute/TargetAttribute.php @@ -37,6 +37,7 @@ public function filter(array $classes): \Generator // If annotations are used, we need to use the annotation reader also // It will slow down the process a bit, but it will allow us to use annotations + /** @psalm-suppress InternalClass */ $reader = $this->useAnnotations ? (new Factory())->create() : new AttributeReader($this->namedArguments ? new NamedArgumentsInstantiator() : null);