From 70da3909a946a1e9af8f3b0cde97b15a3e47e3c6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 31 May 2018 00:52:43 +0900 Subject: [PATCH] =?UTF-8?q?cacheValue=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/_119_b.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/_119_b.php b/hwe/_119_b.php index 2e82ecf1..cf83c7ba 100644 --- a/hwe/_119_b.php +++ b/hwe/_119_b.php @@ -30,7 +30,7 @@ $db = DB::db(); $gameStor = KVStorage::getStorage($db, 'game_env'); switch($btn) { case "분당김": - $gameStor->cacheValues('turntime', 'starttime', 'tnmt_time'); + $gameStor->cacheValues(['turntime', 'starttime', 'tnmt_time']); $turntime = (new \DateTimeImmutable($gameStor->turntime))->sub(new \DateInterval("PT{$minute}M")); $starttime = (new \DateTimeImmutable($gameStor->starttime))->sub(new \DateInterval("PT{$minute}M")); $tnmt_time = (new \DateTimeImmutable($gameStor->tnmt_time))->sub(new \DateInterval("PT{$minute}M")); @@ -47,7 +47,7 @@ case "분당김": ], true); break; case "분지연": - $gameStor->cacheValues('turntime', 'starttime', 'tnmt_time'); + $gameStor->cacheValues(['turntime', 'starttime', 'tnmt_time']); $turntime = (new \DateTimeImmutable($gameStor->turntime))->add(new \DateInterval("PT{$minute}M")); $starttime = (new \DateTimeImmutable($gameStor->starttime))->add(new \DateInterval("PT{$minute}M")); $tnmt_time = (new \DateTimeImmutable($gameStor->tnmt_time))->add(new \DateInterval("PT{$minute}M"));