1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[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
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);
}
} }