fix some PhpStorm inspections

This commit is contained in:
Dylan K. Taylor 2017-03-30 12:10:59 +01:00
parent 6b747f9272
commit cb059ea713
4 changed files with 1 additions and 5 deletions

View File

@ -3456,9 +3456,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
*
* @param string $title
* @param int $type
* @param int $fadeIn
* @param int $stay
* @param int $fadeOut
*/
protected function sendTitleText(string $title, int $type){
$pk = new SetTitlePacket();

View File

@ -703,6 +703,7 @@ abstract class Entity extends Location implements Metadatable{
/**
* @param Player $player
* @param bool $send
*/
public function despawnFrom(Player $player, bool $send = true){
if(isset($this->hasSpawned[$player->getLoaderId()])){

View File

@ -36,7 +36,6 @@ use pocketmine\nbt\tag\ListTag;
use pocketmine\nbt\tag\ShortTag;
use pocketmine\nbt\tag\StringTag;
use pocketmine\network\mcpe\protocol\AddPlayerPacket;
use pocketmine\network\mcpe\protocol\RemoveEntityPacket;
use pocketmine\Player;
use pocketmine\utils\UUID;

View File

@ -24,7 +24,6 @@ namespace pocketmine\updater;
use pocketmine\Player;
use pocketmine\Server;
use pocketmine\utils\TextFormat;
use pocketmine\utils\Utils;
use pocketmine\utils\VersionString;
class AutoUpdater{