mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
phpdoc: populate missing parameter typeinfo
This commit is contained in:
@ -31,6 +31,9 @@ class MethodEventExecutor implements EventExecutor{
|
||||
/** @var string */
|
||||
private $method;
|
||||
|
||||
/**
|
||||
* @param string $method
|
||||
*/
|
||||
public function __construct($method){
|
||||
$this->method = $method;
|
||||
}
|
||||
@ -39,6 +42,9 @@ class MethodEventExecutor implements EventExecutor{
|
||||
$listener->{$this->getMethod()}($event);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMethod(){
|
||||
return $this->method;
|
||||
}
|
||||
|
Reference in New Issue
Block a user