From 5420a1e7186a3b1bb6dcadba6b5c3360626197ca Mon Sep 17 00:00:00 2001 From: mattiabasone Date: Wed, 29 Jan 2025 18:01:52 +0100 Subject: [PATCH] fix static analysis --- src/Objects/Schema/Generation/AttributeReader.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Objects/Schema/Generation/AttributeReader.php b/src/Objects/Schema/Generation/AttributeReader.php index b549a28..145ba33 100644 --- a/src/Objects/Schema/Generation/AttributeReader.php +++ b/src/Objects/Schema/Generation/AttributeReader.php @@ -20,6 +20,9 @@ public function readPropertyAttributes(\ReflectionProperty $property): SchemaAtt return $this->getSchemaAttributes(...$attributes); } + /** + * @param \ReflectionAttribute ...$attributes + */ private function getSchemaAttributes(\ReflectionAttribute ...$attributes): SchemaAttributes { $attributes = array_map(fn ($attr) => $attr->newInstance(), $attributes);