@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * |
33 | 33 | * @param string $instance The class name. |
34 | 34 | * @param array $parameters List of needed class dependency. |
35 | - * @return object |
|
35 | + * @return callable |
|
36 | 36 | */ |
37 | 37 | public function make($instance, $parameters = []) |
38 | 38 | { |
@@ -448,7 +448,7 @@ discard block |
||
448 | 448 | /** |
449 | 449 | * Determine if current reflection object has constructor. |
450 | 450 | * |
451 | - * @param \ReflectionClass $refl The current reflection class object. |
|
451 | + * @param Internal\ReflectionClassFactory $refl The current reflection class object. |
|
452 | 452 | * @return boolean |
453 | 453 | */ |
454 | 454 | protected function hasConstructor(Internal\ReflectionClassFactory $refl) |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | /** |
460 | 460 | * Determine if unresolvable class name has cloneable. |
461 | 461 | * |
462 | - * @param \ReflectionClass $refl The current reflection class object. |
|
462 | + * @param Internal\ReflectionClassFactory $refl The current reflection class object. |
|
463 | 463 | * @return boolean |
464 | 464 | */ |
465 | 465 | protected function isCloneable(Internal\ReflectionClassFactory $refl) |
@@ -470,7 +470,7 @@ discard block |
||
470 | 470 | /** |
471 | 471 | * Determine if unresolvable class name has serializable. |
472 | 472 | * |
473 | - * @param \ReflectionClass $refl The current reflection class object. |
|
473 | + * @param Internal\ReflectionClassFactory $refl The current reflection class object. |
|
474 | 474 | * @return boolean |
475 | 475 | */ |
476 | 476 | protected function isSerializable(Internal\ReflectionClassFactory $refl) |
@@ -481,7 +481,7 @@ discard block |
||
481 | 481 | /** |
482 | 482 | * Resolving class name without constructor. |
483 | 483 | * |
484 | - * @param \ReflectionClass $refl An instance of \ReflectionClass |
|
484 | + * @param Internal\ReflectionClassFactory $refl An instance of \ReflectionClass |
|
485 | 485 | */ |
486 | 486 | protected function resolveInstanceWithoutConstructor(Internal\ReflectionClassFactory $refl) |
487 | 487 | { |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | /** |
492 | 492 | * Get method parameters. |
493 | 493 | * |
494 | - * @param \ReflectionClass $refl An reflection class instance. |
|
494 | + * @param Internal\ReflectionClassFactory $refl An reflection class instance. |
|
495 | 495 | * @param string $method The method name. |
496 | 496 | * @return array |
497 | 497 | */ |
@@ -505,7 +505,7 @@ discard block |
||
505 | 505 | * |
506 | 506 | * @param string $abstract The resolved class name. |
507 | 507 | * @param object $resolvedInstance The object instance of resolved abstract. |
508 | - * @param mixed $flag The concrete-resolving behavior. |
|
508 | + * @param string $flag The concrete-resolving behavior. |
|
509 | 509 | * @return void |
510 | 510 | */ |
511 | 511 | protected function markAsResolved($abstract, $resolvedInstance, $flag = []) |