From d689adc44e6371e7a6a7f63e42467ca554894390 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 29 Aug 2020 21:18:18 +0300 Subject: [PATCH] Notice: A non well formed numeric value encountered --- classes/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/User.php b/classes/User.php index 7467f46..83a5530 100644 --- a/classes/User.php +++ b/classes/User.php @@ -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; }