Skip to content

Commit d65e514

Browse files
committed
stream_filter_append use mixed instead of array
1 parent 0c5bae9 commit d65e514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generated/stream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function stream_copy_to_stream($from, $to, int $length = null, int $offset = 0):
7373
* STREAM_FILTER_WRITE, and/or
7474
* STREAM_FILTER_ALL can also be passed to the
7575
* read_write parameter to override this behavior.
76-
* @param array $params This filter will be added with the specified
76+
* @param mixed $params This filter will be added with the specified
7777
* params to the end of
7878
* the list and will therefore be called last during stream operations.
7979
* To add a filter to the beginning of the list, use
@@ -87,7 +87,7 @@ function stream_copy_to_stream($from, $to, int $length = null, int $offset = 0):
8787
* @throws StreamException
8888
*
8989
*/
90-
function stream_filter_append($stream, string $filtername, int $read_write = null, array $params = null)
90+
function stream_filter_append($stream, string $filtername, int $read_write = null, mixed $params = null)
9191
{
9292
error_clear_last();
9393
if ($params !== null) {

0 commit comments

Comments
 (0)