Skip to content

Commit

Permalink
Annotate return array generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 28, 2023
1 parent 7d0de8c commit 9eb57c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ protected function addGenericElement(string $element): static
return $this;
}

/** @return array<string, MetadataElementContract> */
protected function getPrefixedArray(string $type): array
{
$array = [];
Expand Down

0 comments on commit 9eb57c5

Please sign in to comment.