Block: populate missing return type info

This commit is contained in:
Dylan K. Taylor
2020-01-19 17:02:03 +00:00
parent e544bc0d4b
commit ccbcc14600
3 changed files with 13 additions and 0 deletions

View File

@ -76,6 +76,11 @@ class Bed extends Transparent{
return ($this->meta & self::BITFLAG_OCCUPIED) !== 0;
}
/**
* @param bool $occupied
*
* @return void
*/
public function setOccupied(bool $occupied = true){
if($occupied){
$this->meta |= self::BITFLAG_OCCUPIED;