mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Consistent fluency for block property setters
This commit is contained in:
@ -104,8 +104,10 @@ class Bed extends Transparent{
|
||||
return $this->occupied;
|
||||
}
|
||||
|
||||
public function setOccupied(bool $occupied = true) : void{
|
||||
/** @return $this */
|
||||
public function setOccupied(bool $occupied = true) : self{
|
||||
$this->occupied = $occupied;
|
||||
return $this;
|
||||
}
|
||||
|
||||
private function getOtherHalfSide() : int{
|
||||
|
Reference in New Issue
Block a user