diff --git a/blocks/online_users/classes/online_users.php b/blocks/online_users/classes/online_users.php
index ef7885b..f71e699 100644
--- a/blocks/online_users/classes/online_users.php
+++ b/blocks/online_users/classes/online_users.php
@@ -139,10 +139,10 @@ class online_users {
 
     /**
      * Get a list of the most recent online users
-     * @param int $userlimit The maximum number of users that will be returned
+     * @param int $userlimit The maximum number of users that will be returned (optional, unlimited if not set)
      * @return array
      */
-    public function get_users($userlimit) {
+    public function get_users($userlimit=0) {
         global $DB;
         $users = $DB->get_records_sql($this->sql, $this->params, 0, $userlimit);
         return $users;
diff --git a/blocks/online_users/tests/online_users_test.php b/blocks/online_users/tests/online_users_test.php
index b111ce6..b91023c 100644
--- a/blocks/online_users/tests/online_users_test.php
+++ b/blocks/online_users/tests/online_users_test.php
@@ -15,10 +15,10 @@
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 
 /**
- * PHPUnit data generator tests
+ * Online users tests
  *
  * @package    block_online_users
- * @category   phpunit
+ * @category   test
  * @copyright  2015 University of Nottingham <www.nottingham.ac.uk>
  * @author     Barry Oosthuizen <barry.oosthuizen@nottingham.ac.uk>
  * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@@ -29,10 +29,10 @@ defined('MOODLE_INTERNAL') || die();
 use block_online_users\online_users as online_users;
 
 /**
- * PHPUnit data generator testcase
+ * Online users testcase
  *
  * @package    block_online_users
- * @category   phpunit
+ * @category   test
  * @copyright  2015 University of Nottingham <www.nottingham.ac.uk>
  * @author     Barry Oosthuizen <barry.oosthuizen@nottingham.ac.uk>
  * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
