PDO
PDO copied to clipboard
Include advanced statement methods in DeleteInterface
Adapt DeleteInterface to match the actual Delete implementation which inherits from AdvancedStatement to provide methods like where().
Otherwise static analysis tools like phpstan will trigger errors when where() is used in a delete statement:
$db->delete()->from($table)->where($condition);