mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed some doc problems
This commit is contained in:
@ -139,7 +139,7 @@ abstract class Command{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @return string|null
|
||||
*/
|
||||
public function getPermission(){
|
||||
return $this->commandData["pocketminePermission"] ?? null;
|
||||
|
@ -160,7 +160,7 @@ class CommandReader extends Thread{
|
||||
*/
|
||||
public function getLine(){
|
||||
if($this->buffer->count() !== 0){
|
||||
return $this->buffer->shift();
|
||||
return (string) $this->buffer->shift();
|
||||
}
|
||||
|
||||
return null;
|
||||
|
@ -133,7 +133,7 @@ class ParticleCommand extends VanillaCommand{
|
||||
* @param float $zd
|
||||
* @param int|null $data
|
||||
*
|
||||
* @return Particle
|
||||
* @return Particle|null
|
||||
*/
|
||||
private function getParticle($name, Vector3 $pos, $xd, $yd, $zd, $data){
|
||||
switch($name){
|
||||
|
Reference in New Issue
Block a user