@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * Share the specified class/instance across the Injector context |
152 | 152 | * |
153 | - * @param mixed $nameOrInstance The class or object to share |
|
153 | + * @param Reflector $nameOrInstance The class or object to share |
|
154 | 154 | * @throws ConfigException if $nameOrInstance is not a string or an object |
155 | 155 | * @return self |
156 | 156 | */ |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | } |
176 | 176 | |
177 | 177 | /** |
178 | - * @param $nameOrInstance |
|
178 | + * @param string $nameOrInstance |
|
179 | 179 | */ |
180 | 180 | private function shareClass($nameOrInstance) |
181 | 181 | { |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | |
328 | 328 | /** |
329 | 329 | * @param $source |
330 | - * @param $name |
|
330 | + * @param string|null $name |
|
331 | 331 | * |
332 | 332 | * @return array |
333 | 333 | */ |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | |
399 | 399 | /** |
400 | 400 | * @param $className |
401 | - * @param $normalizedClass |
|
401 | + * @param string $normalizedClass |
|
402 | 402 | * @param array $definition |
403 | 403 | * |
404 | 404 | * @return object |
@@ -609,7 +609,7 @@ discard block |
||
609 | 609 | |
610 | 610 | /** |
611 | 611 | * @param $obj |
612 | - * @param $normalizedClass |
|
612 | + * @param string $normalizedClass |
|
613 | 613 | * |
614 | 614 | * @return mixed |
615 | 615 | * @throws InjectionException |
@@ -721,7 +721,7 @@ discard block |
||
721 | 721 | } |
722 | 722 | |
723 | 723 | /** |
724 | - * @param $stringExecutable |
|
724 | + * @param string $stringExecutable |
|
725 | 725 | * |
726 | 726 | * @return array |
727 | 727 | * @throws InjectionException |