summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-09-20 10:41:10 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-20 19:41:47 +0200
commite950ca13ea2e8f012ded007ac1251eea01269542 (patch)
tree3c22f2303d1d0ec2edf7e2fa1f1a495c7b2ae9e9 /ext/ftp/php_ftp.c
parentc0f8cc1904106753fcb8cc4ecfef0cf154479ad9 (diff)
downloadphp-git-e950ca13ea2e8f012ded007ac1251eea01269542.tar.gz
Consolidate the usage of "either" and "one of" in error messages
Closes GH-6173
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 0a185ef272..a6dca8c874 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -1284,7 +1284,7 @@ PHP_FUNCTION(ftp_set_option)
RETURN_TRUE;
break;
default:
- zend_argument_value_error(2, "must be either FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS");
+ zend_argument_value_error(2, "must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS");
RETURN_THROWS();
break;
}
@@ -1317,7 +1317,7 @@ PHP_FUNCTION(ftp_get_option)
RETURN_BOOL(ftp->usepasvaddress);
break;
default:
- zend_argument_value_error(2, "must be either FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS");
+ zend_argument_value_error(2, "must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS");
RETURN_THROWS();
}
}