[ticket/17142] Fix class inheritance issues

PHPBB3-17142
This commit is contained in:
rxu 2023-06-08 09:26:18 +07:00
parent d8d67b5f17
commit 1eb81e9b2a
No known key found for this signature in database
GPG key ID: 8117904FEDEFDD17
2 changed files with 9 additions and 5 deletions

View file

@ -1247,11 +1247,7 @@ abstract class driver implements driver_interface
} }
/** /**
* Ensure query ID can be used by cache * {@inheritDoc}
*
* @param resource|int|string $query_id Mixed type query id
*
* @return int|string Query id in string or integer format
*/ */
public function clean_query_id($query_id) public function clean_query_id($query_id)
{ {

View file

@ -472,4 +472,12 @@ class factory implements driver_interface
{ {
return $this->get_driver()->sql_quote($msg); return $this->get_driver()->sql_quote($msg);
} }
/**
* {@inheritDoc}
*/
public function clean_query_id($query_id)
{
return $this->get_driver()->clean_query_id($query_id);
}
} }