mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
added missing @var property types (reported by phpstan)
This commit is contained in:
@ -28,6 +28,7 @@ use pocketmine\event\Listener;
|
||||
|
||||
class MethodEventExecutor implements EventExecutor{
|
||||
|
||||
/** @var string */
|
||||
private $method;
|
||||
|
||||
public function __construct($method){
|
||||
|
@ -41,20 +41,28 @@ use function version_compare;
|
||||
use function yaml_parse;
|
||||
|
||||
class PluginDescription{
|
||||
/** @var mixed[] */
|
||||
private $map;
|
||||
|
||||
/** @var string */
|
||||
private $name;
|
||||
/** @var string */
|
||||
private $main;
|
||||
/** @var string[] */
|
||||
private $api;
|
||||
/** @var int[] */
|
||||
private $compatibleMcpeProtocols = [];
|
||||
/** @var string[][] */
|
||||
private $extensions = [];
|
||||
/** @var string[] */
|
||||
private $depend = [];
|
||||
/** @var string[] */
|
||||
private $softDepend = [];
|
||||
/** @var string[] */
|
||||
private $loadBefore = [];
|
||||
/** @var string */
|
||||
private $version;
|
||||
/** @var mixed[][] */
|
||||
private $commands = [];
|
||||
/** @var string */
|
||||
private $description = "";
|
||||
@ -64,6 +72,7 @@ class PluginDescription{
|
||||
private $website = "";
|
||||
/** @var string */
|
||||
private $prefix = "";
|
||||
/** @var int */
|
||||
private $order = PluginLoadOrder::POSTWORLD;
|
||||
|
||||
/**
|
||||
|
@ -29,6 +29,7 @@ use function spl_object_hash;
|
||||
|
||||
class PluginLogger implements \AttachableLogger{
|
||||
|
||||
/** @var string */
|
||||
private $pluginName;
|
||||
|
||||
/** @var \LoggerAttachment[] */
|
||||
|
Reference in New Issue
Block a user