mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-17 22:11:26 +02:00
[ticket/12282] Use interface for type hinting
PHPBB3-12282
This commit is contained in:
2
phpBB/phpbb/cache/driver/memory.php
vendored
2
phpBB/phpbb/cache/driver/memory.php
vendored
@@ -279,7 +279,7 @@ abstract class memory extends \phpbb\cache\driver\base
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
function sql_save(\phpbb\db\driver\driver $db, $query, $query_result, $ttl)
|
||||
function sql_save(\phpbb\db\driver\driver_interface $db, $query, $query_result, $ttl)
|
||||
{
|
||||
// Remove extra spaces and tabs
|
||||
$query = preg_replace('/[\n\r\s\t]+/', ' ', $query);
|
||||
|
Reference in New Issue
Block a user