Skip to content

Commit

Permalink
chore: Rename example parameter (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixelshaped authored Jul 4, 2024
1 parent 840c01c commit fec09c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Examples/Valid/ReferencesArray/AuthorDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class AuthorDTO
{
/**
* @param array<BookDTO> $leafs
* @param array<BookDTO> $books
*/
public function __construct(
#[Identifier]
Expand All @@ -19,6 +19,6 @@ public function __construct(
#[InboundPropertyName('author_name')]
public string $name,
#[ReferencesArray(BookDTO::class)]
public array $leafs,
public array $books,
) {}
}

0 comments on commit fec09c3

Please sign in to comment.