Fix errors in Database namespace

This commit is contained in:
Art4 2024-12-03 20:36:29 +00:00
parent 496f0755b1
commit 1fe730f514
11 changed files with 34 additions and 46 deletions

View file

@ -774,8 +774,8 @@ class Post
* @return boolean was the delete successful?
* @throws \Exception
*/
public static function delete(array $conditions, array $options = []): bool
public static function delete(array $conditions): bool
{
return DBA::delete('post', $conditions, $options);
return DBA::delete('post', $conditions);
}
}