Skip to content

Commit

Permalink
fix some number stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Plancke committed Oct 11, 2019
1 parent 91853fe commit 6845139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/DataHolding.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6845139

Please sign in to comment.