diff --git a/web/lib/MRBS/DBStatement.php b/web/lib/MRBS/DBStatement.php index 153da59036..bbe1027839 100644 --- a/web/lib/MRBS/DBStatement.php +++ b/web/lib/MRBS/DBStatement.php @@ -52,13 +52,13 @@ public function all_rows_keyed() : array } // Return the number of rows returned by a statement from query(). - public function count() + public function count() : int { return $this->statement->rowCount(); } // Returns the number of fields in a statement. - public function num_fields() + public function num_fields() : int { return $this->statement->columnCount(); }