Fixed some inspections

This commit is contained in:
Dylan K. Taylor
2017-05-04 12:19:50 +01:00
parent 966e4bf8a1
commit eaef2bd169
8 changed files with 4 additions and 12 deletions

View File

@ -46,11 +46,6 @@ abstract class Command{
/** @var string */
private $label;
/**
* @var string[]
*/
private $aliases = [];
/**
* @var string[]
*/

View File

@ -75,7 +75,6 @@ class EffectCommand extends VanillaCommand{
return true;
}
$duration = 300;
$amplification = 0;
if(count($args) >= 3){

View File

@ -23,8 +23,6 @@ namespace pocketmine\command\defaults;
use pocketmine\command\CommandSender;
use pocketmine\event\TranslationContainer;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
class TitleCommand extends VanillaCommand{
@ -98,5 +96,7 @@ class TitleCommand extends VanillaCommand{
}
$sender->sendMessage(new TranslationContainer("commands.title.success"));
return true;
}
}