summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-10-01 10:34:18 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-10-05 15:20:27 +0200
commite9c707298b8411a0cb5299bbbdaa9b0e16a4eb49 (patch)
tree287fd1c5ac50937d52f2da7425bcb03462cca19a /ext/standard/basic_functions.stub.php
parentfaea5ab837ab6393c8821f85cf8abe2723593e8e (diff)
downloadphp-git-e9c707298b8411a0cb5299bbbdaa9b0e16a4eb49.tar.gz
Review parameter names in ext/zlib
Closes GH-6250
Diffstat (limited to 'ext/standard/basic_functions.stub.php')
-rwxr-xr-xext/standard/basic_functions.stub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php
index 5b8103f036..41d6a66b1c 100755
--- a/ext/standard/basic_functions.stub.php
+++ b/ext/standard/basic_functions.stub.php
@@ -823,13 +823,13 @@ function ftell($stream): int|false {}
function fflush($stream): bool {}
/** @param resource $stream */
-function fwrite($stream, string $string, ?int $max_length = null): int|false {}
+function fwrite($stream, string $data, ?int $max_length = null): int|false {}
/**
* @param resource $stream
* @alias fwrite
*/
-function fputs($stream, string $string, ?int $max_length = null): int|false {}
+function fputs($stream, string $data, ?int $max_length = null): int|false {}
/** @param resource|null $context */
function mkdir(string $directory, int $mode = 0777, bool $recursive = false, $context = null): bool {}
@@ -855,7 +855,7 @@ function file_get_contents(string $filename, bool $use_include_path = false, $co
function unlink(string $filename, $context = null): bool {}
/** @param resource|null $context */
-function file_put_contents(string $filename, mixed $content, int $flags = 0, $context = null): int|false {}
+function file_put_contents(string $filename, mixed $data, int $flags = 0, $context = null): int|false {}
/** @param resource $stream */
function fputcsv($stream, array $fields, string $separator = ",", string $enclosure = "\"", string $escape = "\\"): int|false {}