Notice: A non well formed numeric value encountered
This commit is contained in:
parent
d28d8b4e10
commit
d689adc44e
@ -394,12 +394,12 @@ class User
|
||||
return $sign ?? null;
|
||||
}
|
||||
|
||||
public function getHealth(): int
|
||||
public function getHealth(): string
|
||||
{
|
||||
return $this->health.'/'.$this->maxHealth;
|
||||
}
|
||||
|
||||
public function getMana(): int
|
||||
public function getMana(): string
|
||||
{
|
||||
return $this->mana.'/'.$this->maxMana;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user