Merge commit '9cd6b3e1c7cd81d0a4b0da68d9b3ff026c9f6495'

This commit is contained in:
Dylan K. Taylor 2020-01-22 15:04:06 +00:00
commit cd55cdf5c6
12 changed files with 19 additions and 57 deletions

View File

@ -50,9 +50,7 @@ abstract class Command{
/** @var string[] */
private $aliases = [];
/**
* @var string[]
*/
/** @var string[] */
private $activeAliases = [];
/** @var CommandMap|null */

View File

@ -78,9 +78,7 @@ use function trim;
class SimpleCommandMap implements CommandMap{
/**
* @var Command[]
*/
/** @var Command[] */
protected $knownCommands = [];
/** @var Server */

View File

@ -38,9 +38,7 @@ class EntityExplodeEvent extends EntityEvent implements Cancellable{
/** @var Position */
protected $position;
/**
* @var Block[]
*/
/** @var Block[] */
protected $blocks;
/** @var float */

View File

@ -43,9 +43,7 @@ class PlayerChatEvent extends PlayerEvent implements Cancellable{
/** @var string */
protected $format;
/**
* @var CommandSender[]
*/
/** @var CommandSender[] */
protected $recipients = [];
/**

View File

@ -32,9 +32,7 @@ use function strtolower;
use function trim;
class BanEntry{
/**
* @var string
*/
/** @var string */
public static $format = "Y-m-d H:i:s O";
/** @var string */

View File

@ -35,14 +35,10 @@ class PermissibleBase implements Permissible{
/** @var Permissible */
private $parent = null;
/**
* @var PermissionAttachment[]
*/
/** @var PermissionAttachment[] */
private $attachments = [];
/**
* @var PermissionAttachmentInfo[]
*/
/** @var PermissionAttachmentInfo[] */
private $permissions = [];
public function __construct(ServerOperator $opable){

View File

@ -45,9 +45,7 @@ class Permission{
/** @var string */
private $description;
/**
* @var bool[]
*/
/** @var bool[] */
private $children;
/** @var string */

View File

@ -30,9 +30,7 @@ class PermissionAttachment{
/** @var PermissionRemovedExecutor */
private $removed = null;
/**
* @var bool[]
*/
/** @var bool[] */
private $permissions = [];
/** @var Permissible */

View File

@ -73,9 +73,7 @@ class PluginDescription{
/** @var PluginLoadOrder */
private $order;
/**
* @var Permission[]
*/
/** @var Permission[] */
private $permissions = [];
/**

View File

@ -67,19 +67,13 @@ class PluginManager{
/** @var Server */
private $server;
/**
* @var Plugin[]
*/
/** @var Plugin[] */
protected $plugins = [];
/**
* @var Plugin[]
*/
/** @var Plugin[] */
protected $enabledPlugins = [];
/**
* @var PluginLoader[]
*/
/** @var PluginLoader[] */
protected $fileAssociations = [];
/** @var string|null */

View File

@ -36,14 +36,10 @@ class TaskScheduler{
/** @var bool */
private $enabled = true;
/**
* @var ReversePriorityQueue<Task>
*/
/** @var ReversePriorityQueue<Task> */
protected $queue;
/**
* @var TaskHandler[]
*/
/** @var TaskHandler[] */
protected $tasks = [];
/** @var int */

View File

@ -35,24 +35,16 @@ class Random{
public const Z = 521288629;
public const W = 88675123;
/**
* @var int
*/
/** @var int */
private $x;
/**
* @var int
*/
/** @var int */
private $y;
/**
* @var int
*/
/** @var int */
private $z;
/**
* @var int
*/
/** @var int */
private $w;
/** @var int */