@@ -84,6 +84,9 @@ discard block |
||
84 | 84 | return $this->reflection->getInterfaces(); |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param string $name |
|
89 | + */ |
|
87 | 90 | public function getMethod($name) |
88 | 91 | { |
89 | 92 | return $this->reflection->getMethod($name); |
@@ -174,6 +177,9 @@ discard block |
||
174 | 177 | return $this->reflection->hasConstant($name); |
175 | 178 | } |
176 | 179 | |
180 | + /** |
|
181 | + * @param string $name |
|
182 | + */ |
|
177 | 183 | public function hasMethod($name) |
178 | 184 | { |
179 | 185 | if (!is_string($name)) { |
@@ -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 = []) |