From 8def6ee4fa26be245735e64fafef165c85cb66e4 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 2 Apr 2022 17:44:23 +0900 Subject: [PATCH] =?UTF-8?q?misc:=20BaseNation=EC=97=90=EC=84=9C=EB=8F=84?= =?UTF-8?q?=20getInfo=20fallback=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/BaseNation.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwe/sammo/BaseNation.php b/hwe/sammo/BaseNation.php index ee1fa40e..0a3a7318 100644 --- a/hwe/sammo/BaseNation.php +++ b/hwe/sammo/BaseNation.php @@ -10,4 +10,10 @@ abstract class BaseNation implements iAction{ protected $info = ''; static $pros = ''; static $cons = ''; + + public function getInfo(): string{ + $pros = static::$pros; + $cons = static::$cons; + return "{$pros} {$cons}"; + } } \ No newline at end of file