@@ -450,7 +450,7 @@ discard block |
||
450 | 450 | /** |
451 | 451 | * Determine if current reflection object has constructor. |
452 | 452 | * |
453 | - * @param \ReflectionClass $refl The current reflection class object. |
|
453 | + * @param Internal\ReflectionClassFactory $refl The current reflection class object. |
|
454 | 454 | * @return boolean |
455 | 455 | */ |
456 | 456 | protected function hasConstructor(Internal\ReflectionClassFactory $refl) |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | /** |
462 | 462 | * Determine if unresolvable class name has cloneable. |
463 | 463 | * |
464 | - * @param \ReflectionClass $refl The current reflection class object. |
|
464 | + * @param Internal\ReflectionClassFactory $refl The current reflection class object. |
|
465 | 465 | * @return boolean |
466 | 466 | */ |
467 | 467 | protected function isCloneable(Internal\ReflectionClassFactory $refl) |
@@ -472,7 +472,7 @@ discard block |
||
472 | 472 | /** |
473 | 473 | * Determine if unresolvable class name has serializable. |
474 | 474 | * |
475 | - * @param \ReflectionClass $refl The current reflection class object. |
|
475 | + * @param Internal\ReflectionClassFactory $refl The current reflection class object. |
|
476 | 476 | * @return boolean |
477 | 477 | */ |
478 | 478 | protected function isSerializable(Internal\ReflectionClassFactory $refl) |
@@ -483,7 +483,7 @@ discard block |
||
483 | 483 | /** |
484 | 484 | * Resolving class name without constructor. |
485 | 485 | * |
486 | - * @param \ReflectionClass $refl An instance of \ReflectionClass |
|
486 | + * @param Internal\ReflectionClassFactory $refl An instance of \ReflectionClass |
|
487 | 487 | */ |
488 | 488 | protected function resolveInstanceWithoutConstructor(Internal\ReflectionClassFactory $refl) |
489 | 489 | { |
@@ -493,7 +493,7 @@ discard block |
||
493 | 493 | /** |
494 | 494 | * Get method parameters. |
495 | 495 | * |
496 | - * @param \ReflectionClass $refl An reflection class instance. |
|
496 | + * @param Internal\ReflectionClassFactory $refl An reflection class instance. |
|
497 | 497 | * @param string $method The method name. |
498 | 498 | * @return array |
499 | 499 | */ |
@@ -507,7 +507,7 @@ discard block |
||
507 | 507 | * |
508 | 508 | * @param string $abstract The resolved class name. |
509 | 509 | * @param object $resolvedInstance The object instance of resolved abstract. |
510 | - * @param mixed $flag The concrete-resolving behavior. |
|
510 | + * @param string $flag The concrete-resolving behavior. |
|
511 | 511 | * @return void |
512 | 512 | */ |
513 | 513 | protected function markAsResolved($abstract, $resolvedInstance, $flag = []) |
@@ -7,7 +7,6 @@ |
||
7 | 7 | namespace DependencyInjection; |
8 | 8 | |
9 | 9 | use Psr\Container\ContainerInterface; |
10 | -use DependencyInjection\Exception\ContainerException; |
|
11 | 10 | use DependencyInjection\Exception\NotFoundException; |
12 | 11 | |
13 | 12 | class Container implements \ArrayAccess, ContainerInterface |
@@ -186,7 +186,7 @@ |
||
186 | 186 | throw Internal\Exception\ReflectionExceptionFactory::invalidArgument( |
187 | 187 | sprintf( |
188 | 188 | "Parameter 1 of %s must be an abstract class name which exists in resolved concrete stack.", |
189 | - __METHOD__ |
|
189 | + __METHOD__ |
|
190 | 190 | ) |
191 | 191 | ); |
192 | 192 | } |