Skip to content

Commit

Permalink
fixed incorrect phpdoc return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Halleck45 committed Jan 10, 2025
1 parent 567d81a commit 091a2a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TwigComponent/src/ComponentPropertiesExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(
}

/**
* @return array<string, string>
* @return array<array{display: string, name: string, type: string, default: mixed}>
*/
public function getComponentProperties(ComponentMetadata $medata)
{
Expand All @@ -35,7 +35,7 @@ public function getComponentProperties(ComponentMetadata $medata)
}

/**
* @return array<string, string>
* @return array<array{display: string, name: string, type: string, default: mixed}>
*/
private function getNonAnonymousComponentProperties(ComponentMetadata $metadata): array
{
Expand Down Expand Up @@ -81,7 +81,7 @@ private function getNonAnonymousComponentProperties(ComponentMetadata $metadata)
/**
* Extract properties from {% props %} tag in anonymous template.
*
* @return array<string, string>
* @return array<array{display: string, name: string, type: string, default: mixed}>
*/
private function getAnonymousComponentProperties(ComponentMetadata $metadata): array
{
Expand Down

0 comments on commit 091a2a3

Please sign in to comment.