Skip to content

Commit 091a2a3

Browse files
committed
fixed incorrect phpdoc return type
1 parent 567d81a commit 091a2a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TwigComponent/src/ComponentPropertiesExtractor.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323
}
2424

2525
/**
26-
* @return array<string, string>
26+
* @return array<array{display: string, name: string, type: string, default: mixed}>
2727
*/
2828
public function getComponentProperties(ComponentMetadata $medata)
2929
{
@@ -35,7 +35,7 @@ public function getComponentProperties(ComponentMetadata $medata)
3535
}
3636

3737
/**
38-
* @return array<string, string>
38+
* @return array<array{display: string, name: string, type: string, default: mixed}>
3939
*/
4040
private function getNonAnonymousComponentProperties(ComponentMetadata $metadata): array
4141
{
@@ -81,7 +81,7 @@ private function getNonAnonymousComponentProperties(ComponentMetadata $metadata)
8181
/**
8282
* Extract properties from {% props %} tag in anonymous template.
8383
*
84-
* @return array<string, string>
84+
* @return array<array{display: string, name: string, type: string, default: mixed}>
8585
*/
8686
private function getAnonymousComponentProperties(ComponentMetadata $metadata): array
8787
{

0 commit comments

Comments
 (0)