|
18 | 18 | * @psalm-type DependencyContainer = array<non-empty-string, DependencyInterface> |
19 | 19 | * @psalm-type DependencyIndex = non-empty-string |
20 | 20 | * @psalm-type PointcutList array<int, Pointcut> |
21 | | - * @psalm-type BindingName = string |
| 21 | + * @psalm-type BindingName = non-empty-string |
22 | 22 | * @psalm-type BindableInterface = class-string|'' |
23 | | - * @psalm-type ConstructorNameMapping = array<string, string> |
| 23 | + * @psalm-type ConstructorNameMapping = array<non-empty-string, non-empty-string> |
24 | 24 | * @psalm-type ParameterNameMapping = array<string, string> |
25 | | - * @psalm-type NamedParameterString = string |
| 25 | + * @psalm-type NamedParameterString = non-empty-string |
26 | 26 | * |
27 | | - * Injection and Argument Types |
| 27 | + * Enhanced Injection and Argument Types |
| 28 | + * @psalm-type InjectableValue object|scalar|array<array-key, (object|scalar|null)>|null |
28 | 29 | * @psalm-type InjectionPointDefinition = array{0: string, 1: string, 2: bool} |
29 | 30 | * @psalm-type InjectionPointsList = list<InjectionPointDefinition> |
30 | 31 | * @psalm-type MethodArguments = list<mixed> |
|
33 | 34 | * @psalm-type QualifierList = array<object> |
34 | 35 | * |
35 | 36 | * Scope and Lifecycle Types |
36 | | - * @psalm-type ScopeType = 'Singleton'|'Prototype' |
| 37 | + * @psalm-type ScopeType = Scope::SINGLETON|Scope::PROTOTYPE |
37 | 38 | * @psalm-type ProviderContext = string |
38 | 39 | * |
39 | 40 | * MultiBinding Types |
|
43 | 44 | * AOP and Aspect Types |
44 | 45 | * @psalm-type MethodInterceptorBindings array<non-empty-string, list<MethodInterceptor>> |
45 | 46 | * @psalm-type InterceptorClassList array<class-string<MethodInterceptor>> |
46 | | - * @psalm-type VisitorResult = mixed |
| 47 | + * @psalm-type VisitorResult = object|array<array-key, mixed>|null |
47 | 48 | * @psalm-type SetterMethodList = array<SetterMethod> |
48 | 49 | * @psalm-type ArgumentList = array<Argument> |
49 | 50 | * |
|
65 | 66 | * |
66 | 67 | * Domain-Specific Array Types |
67 | 68 | * @psalm-type ModuleList = non-empty-array<AbstractModule> |
68 | | - * @psalm-type NamedArguments = array<string, mixed> |
| 69 | + * @psalm-type NamedArguments = array<string, InjectableValue> |
69 | 70 | */ |
70 | 71 | final class Types |
71 | 72 | { |
|
0 commit comments