mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 09:30:46 +02:00
[ticket/17176] Resolve psalm issues after PHP version update
PHPBB3-17176
This commit is contained in:
@@ -1330,7 +1330,7 @@ abstract class driver implements driver_interface
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function clean_query_id($query_id)
|
||||
public function clean_query_id(mixed $query_id): int|string
|
||||
{
|
||||
// Some DBMS functions accept/return objects and/or resources instead if identifiers
|
||||
// Attempting to use objects/resources as array keys will throw error, hence correctly handle all cases
|
||||
|
Reference in New Issue
Block a user