From e709c6beac78c97ecb413e3659601d02de22e240 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 17 Nov 2026 19:00:33 +0100 Subject: [PATCH] Remove deprecated attributeClass param from PhpAttributeGroupFactory::createArgsFromItems() --- src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php b/src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php index 9cafd9db287..f732b3b8b7a 100644 --- a/src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php +++ b/src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php @@ -81,7 +81,7 @@ public function create( array $uses ): AttributeGroup { $values = $doctrineAnnotationTagValueNode->getValuesWithSilentKey(); - $args = $this->createArgsFromItems($values, '', $annotationToAttribute->getClassReferenceFields()); + $args = $this->createArgsFromItems($values, $annotationToAttribute->getClassReferenceFields()); $this->annotationToAttributeIntegerValueCaster->castAttributeTypes($annotationToAttribute, $args); @@ -103,14 +103,12 @@ public function create( /** * @param ArrayItemNode[]|mixed[] $items - * @param string $attributeClass @deprecated * @param string[] $classReferencedFields * * @return list */ public function createArgsFromItems( array $items, - string $attributeClass = '', array $classReferencedFields = [] ): array { $mappedItems = $this->annotationToAttributeMapper->map($items);