diff --git a/src/Settings.php b/src/Settings.php index 0f30031..56e1b0f 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -319,9 +319,9 @@ class Settings implements \Iterator, \Countable * Count elements * @link https://www.php.net/countable.count.php */ - public function count() + public function count(): int { - count($this->settings); + return count($this->settings); } // }}}