Skip to content

Commit 8de47b5

Browse files
committed
Address another comment
1 parent 3a588a2 commit 8de47b5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

ext/ftp/ftp.stub.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ function ftp_systype($ftp): string|false {}
5959
* @param resource $ftp
6060
* @param resource $stream
6161
*/
62-
function ftp_fget($ftp, $stream, string $filename, int $mode = FTP_BINARY, int $offset = 0): bool {}
62+
function ftp_fget($ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {}
6363

6464
/**
6565
* @param resource $ftp
6666
* @param resource $stream
6767
*/
68-
function ftp_nb_fget($ftp, $stream, string $filename, int $mode = FTP_BINARY, int $offset = 0): int {}
68+
function ftp_nb_fget($ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int {}
6969

7070
/** @param resource $ftp */
7171
function ftp_pasv($ftp, bool $enable): bool {}
@@ -83,13 +83,13 @@ function ftp_nb_continue($ftp): int {}
8383
* @param resource $ftp
8484
* @param resource $stream
8585
*/
86-
function ftp_fput($ftp, string $filename, $stream, int $mode = FTP_BINARY, int $offset = 0): bool {}
86+
function ftp_fput($ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0): bool {}
8787

8888
/**
8989
* @param resource $ftp
9090
* @param resource $stream
9191
*/
92-
function ftp_nb_fput($ftp, string $filename, $stream, int $mode = FTP_BINARY, int $offset = 0): int {}
92+
function ftp_nb_fput($ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0): int {}
9393

9494
/** @param resource $ftp */
9595
function ftp_put($ftp, string $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): bool {}

ext/ftp/ftp_arginfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 285945c811e5003d17afc5d459d4c61be542eee7 */
2+
* Stub hash: 4957601533b387d70ebb15811821fc06507cdbc2 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_ftp_connect, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
@@ -81,15 +81,15 @@ ZEND_END_ARG_INFO()
8181
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftp_fget, 0, 3, _IS_BOOL, 0)
8282
ZEND_ARG_INFO(0, ftp)
8383
ZEND_ARG_INFO(0, stream)
84-
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
84+
ZEND_ARG_TYPE_INFO(0, remote_filename, IS_STRING, 0)
8585
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
8686
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
8787
ZEND_END_ARG_INFO()
8888

8989
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftp_nb_fget, 0, 3, IS_LONG, 0)
9090
ZEND_ARG_INFO(0, ftp)
9191
ZEND_ARG_INFO(0, stream)
92-
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
92+
ZEND_ARG_TYPE_INFO(0, remote_filename, IS_STRING, 0)
9393
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
9494
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
9595
ZEND_END_ARG_INFO()
@@ -121,15 +121,15 @@ ZEND_END_ARG_INFO()
121121

122122
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftp_fput, 0, 3, _IS_BOOL, 0)
123123
ZEND_ARG_INFO(0, ftp)
124-
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
124+
ZEND_ARG_TYPE_INFO(0, remote_filename, IS_STRING, 0)
125125
ZEND_ARG_INFO(0, stream)
126126
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
127127
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
128128
ZEND_END_ARG_INFO()
129129

130130
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftp_nb_fput, 0, 3, IS_LONG, 0)
131131
ZEND_ARG_INFO(0, ftp)
132-
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
132+
ZEND_ARG_TYPE_INFO(0, remote_filename, IS_STRING, 0)
133133
ZEND_ARG_INFO(0, stream)
134134
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
135135
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")

0 commit comments

Comments
 (0)