Skip to content

Commit f648646

Browse files
committed
Apply fixed review.
1 parent b2e3132 commit f648646

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extension.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ parametersSchema:
1515
yii2: structure(
1616
[
1717
config_path: schema(string()),
18-
component_generics: schema(arrayOf(string()))
18+
component_generics: schema(arrayOf(string(), string()))
1919
]
2020
)
2121

@@ -24,7 +24,7 @@ services:
2424
class: yii2\extensions\phpstan\method\BehaviorMethodsClassReflectionExtension
2525
tags: [phpstan.broker.methodsClassReflectionExtension]
2626
-
27-
class: yii2\extensions\phpstan\property\ApplicationPropertiesClassReflectionExtension()
27+
class: yii2\extensions\phpstan\property\ApplicationPropertiesClassReflectionExtension
2828
tags: [phpstan.broker.propertiesClassReflectionExtension]
2929
arguments:
3030
genericComponents: %yii2.component_generics%

src/property/ApplicationPropertiesClassReflectionExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ final class ApplicationPropertiesClassReflectionExtension implements PropertiesC
8181
* @param ReflectionProvider $reflectionProvider Reflection provider for class and property lookups.
8282
* @param ServiceMap $serviceMap Service and component map for Yii Application static analysis.
8383
*
84-
* @phpstan-param array<string, string> $genericComponents
84+
* @phpstan-param string[] $genericComponents
8585
*/
8686
public function __construct(
8787
private readonly AnnotationsPropertiesClassReflectionExtension $annotationsProperties,

0 commit comments

Comments
 (0)