Skip to content

Commit

Permalink
fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiabasone committed Jan 29, 2025
1 parent e2e375f commit 5420a1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Objects/Schema/Generation/AttributeReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public function readPropertyAttributes(\ReflectionProperty $property): SchemaAtt
return $this->getSchemaAttributes(...$attributes);
}

/**
* @param \ReflectionAttribute<object> ...$attributes
*/
private function getSchemaAttributes(\ReflectionAttribute ...$attributes): SchemaAttributes
{
$attributes = array_map(fn ($attr) => $attr->newInstance(), $attributes);
Expand Down

0 comments on commit 5420a1e

Please sign in to comment.