Skip to content

Commit

Permalink
Merge pull request #1022 from spiral/psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Dec 5, 2023
1 parent fc1bf8d commit b06f67a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Attribute/TargetAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b06f67a

Please sign in to comment.