@@ -43,6 +43,8 @@ |
||
| 43 | 43 | * Create ToConstructor binding |
| 44 | 44 | * |
| 45 | 45 | * @param ReflectionClass<object> $class |
| 46 | + * @param InjectionPoints $injectionPoints |
|
| 47 | + * @param ReflectionMethod $postConstruct |
|
| 46 | 48 | */ |
| 47 | 49 | public function newToConstructor( |
| 48 | 50 | ReflectionClass $class, |
@@ -26,6 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @phpstan-param ReflectionClass<object> $class |
| 29 | + * @param Name $constructorName |
|
| 29 | 30 | */ |
| 30 | 31 | public function __construct( |
| 31 | 32 | ReflectionClass $class, |
@@ -29,6 +29,9 @@ |
||
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | + /** |
|
| 33 | + * @param SetterMethod $setterMethod |
|
| 34 | + */ |
|
| 32 | 35 | public function add(?SetterMethod $setterMethod = null): void |
| 33 | 36 | { |
| 34 | 37 | if ($setterMethod) { |