'SELECT `address` FRO... ORDER BY `date` ASC' of type string is incompatible with the type string[] expected by parameter $query of cs\DB\_Abstract::qfas().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
34
/** @scrutinizer ignore-type */ 'SELECT `address`
Loading history...
35
FROM `[prefix]websockets_pool`
36
ORDER BY `date` ASC'
37
) ?: [];
38
}
39
/**
40
* Get master server address
41
*
42
* @return false|string
43
*/
44
public function get_master () {
45
$servers = $this->get_all();
46
return $servers ? $servers[0] : false;
47
}
48
/**
49
* Add server with specified address to server
50
*
51
* @param string $server_address Address of WebSockets server in format wss://server/WebSockets or ws://server/WebSockets
$server_address of type string is incompatible with the type array expected by parameter $parameters of cs\DB\_Abstract::q().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$server_address of type string is incompatible with the type array expected by parameter $parameters of cs\DB\_Abstract::q().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation