Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/PhpAttribute/NodeFactory/PhpAttributeGroupFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -103,14 +103,12 @@ public function create(

/**
* @param ArrayItemNode[]|mixed[] $items
* @param string $attributeClass @deprecated
* @param string[] $classReferencedFields
*
* @return list<Arg>
*/
public function createArgsFromItems(
array $items,
string $attributeClass = '',
array $classReferencedFields = []
): array {
$mappedItems = $this->annotationToAttributeMapper->map($items);
Expand Down
Loading