Skip to content

Commit 244b883

Browse files
committed
Merge branch 'PHP-8.2'
2 parents e053ba0 + eb9d556 commit 244b883

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/ftp/ftp.stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function ftp_fget(FTP\Connection $ftp, $stream, string $remote_filename, int $mo
110110
function ftp_nb_fget(FTP\Connection $ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int {}
111111
function ftp_pasv(FTP\Connection $ftp, bool $enable): bool {}
112112
function ftp_get(FTP\Connection $ftp, string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {}
113-
function ftp_nb_get(FTP\Connection $ftp, string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int {}
113+
function ftp_nb_get(FTP\Connection $ftp, string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int|false {}
114114
function ftp_nb_continue(FTP\Connection $ftp): int {}
115115

116116
/** @param resource $stream */

ext/ftp/ftp_arginfo.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)