diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Database/Db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Database/Db.php b/src/Database/Db.php index 46edc96b..b433f40d 100644 --- a/src/Database/Db.php +++ b/src/Database/Db.php @@ -113,13 +113,13 @@ class Db * * @param string $query * @param array $bindings - * @return int|bool + * @return int */ public static function delete($query, array $bindings = []) { self::query($query, $bindings); - return (self::$lastStatus ? self::$stm->rowCount() : false); + return self::$stm->rowCount(); } /** |