mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 11:16:57 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -61,8 +61,6 @@ class HandlerListManager{
|
||||
/**
|
||||
* @param ReflectionClass $class
|
||||
* @phpstan-param \ReflectionClass<Event> $class
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private static function isValidClass(\ReflectionClass $class) : bool{
|
||||
$tags = Utils::parseDocComment((string) $class->getDocComment());
|
||||
@ -70,10 +68,8 @@ class HandlerListManager{
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \ReflectionClass $class
|
||||
* @phpstan-param \ReflectionClass<Event> $class
|
||||
*
|
||||
* @return \ReflectionClass|null
|
||||
* @phpstan-return \ReflectionClass<Event>|null
|
||||
*/
|
||||
private static function resolveNearestHandleableParent(\ReflectionClass $class) : ?\ReflectionClass{
|
||||
@ -88,9 +84,6 @@ class HandlerListManager{
|
||||
*
|
||||
* Calling this method also lazily initializes the $classMap inheritance tree of handler lists.
|
||||
*
|
||||
* @param string $event
|
||||
*
|
||||
* @return HandlerList
|
||||
* @throws \ReflectionException
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
|
Reference in New Issue
Block a user