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[] */ /** @var string[] */
private $aliases = []; private $aliases = [];
/** /** @var string[] */
* @var string[]
*/
private $activeAliases = []; private $activeAliases = [];
/** @var CommandMap|null */ /** @var CommandMap|null */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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