mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-22 19:32:04 +01:00
7.4 compatibility
This commit is contained in:
parent
6606c182b5
commit
00fc21322c
@ -98,7 +98,7 @@ class HttpDriver {
|
|||||||
* @return bool Returns true on success, false if the file was too large.
|
* @return bool Returns true on success, false if the file was too large.
|
||||||
* @throws RuntimeException Throws on IO error.
|
* @throws RuntimeException Throws on IO error.
|
||||||
*/
|
*/
|
||||||
public function requestGetInto(string $endpoint, ?array $data, mixed $fd, int $timeout = 0): bool {
|
public function requestGetInto(string $endpoint, ?array $data, $fd, int $timeout = 0): bool {
|
||||||
if (!empty($data)) {
|
if (!empty($data)) {
|
||||||
$endpoint .= '?' . \http_build_query($data);
|
$endpoint .= '?' . \http_build_query($data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user