From 6845139df9e8132dd3b08bd03897d7a601d38331 Mon Sep 17 00:00:00 2001 From: Plancke Date: Fri, 11 Oct 2019 06:50:13 +0200 Subject: [PATCH] fix some number stuff --- src/classes/DataHolding.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/DataHolding.php b/src/classes/DataHolding.php index 7143e24..50eb1ac 100644 --- a/src/classes/DataHolding.php +++ b/src/classes/DataHolding.php @@ -44,7 +44,7 @@ abstract function getData(); * @param int $default * @return int */ - public function getNumber($key, $default = 0) { + public function getInt($key, $default = 0) { $ret = $this->get($key, $default); if (is_int($ret)) return $ret; return $default;