Changes:
- added type-hints - added some missing documentation
This commit is contained in:
@@ -1527,6 +1527,7 @@ class Database
|
||||
*/
|
||||
public function count($table, array $condition = [], array $params = []): int
|
||||
{
|
||||
// @TODO Can we dump this to have ": int" as returned type-hint?
|
||||
if (empty($table)) {
|
||||
throw new InvalidArgumentException('Parameter "table" cannot be empty.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user