From 1bd9cbd4d3600df6d01443f7df4a3c83b2017c13 Mon Sep 17 00:00:00 2001 From: PEMapModder Date: Sat, 13 Dec 2014 20:42:23 +0800 Subject: [PATCH] Update documentation of PluginBase::getCommand() for IDEs' auto completion --- src/pocketmine/plugin/PluginBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/plugin/PluginBase.php b/src/pocketmine/plugin/PluginBase.php index 2ac0dab00..368d24139 100644 --- a/src/pocketmine/plugin/PluginBase.php +++ b/src/pocketmine/plugin/PluginBase.php @@ -135,7 +135,7 @@ abstract class PluginBase implements Plugin{ /** * @param string $name * - * @return PluginIdentifiableCommand + * @return Command|PluginIdentifiableCommand */ public function getCommand($name){ $command = $this->getServer()->getPluginCommand($name); @@ -290,4 +290,4 @@ abstract class PluginBase implements Plugin{ return $this->loader; } -} \ No newline at end of file +}