Update documentation of PluginBase::getCommand() for IDEs' auto completion

This commit is contained in:
PEMapModder 2014-12-13 20:42:23 +08:00
parent 71d602a4cf
commit 1bd9cbd4d3

View File

@ -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;
}
}
}