Skip to content

Commit 701f3a1

Browse files
haszikocsismate
haszi
authored andcommitted
Mark ob_start callback parameter nullable
1 parent 6750387 commit 701f3a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: ext/standard/basic_functions.stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ function header_register_callback(callable $callback): bool {}
15131513

15141514
/* main/output.c */
15151515

1516-
/** @param callable $callback */
1516+
/** @param callable|null $callback */
15171517
function ob_start($callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool {}
15181518

15191519
function ob_flush(): bool {}

Diff for: ext/standard/basic_functions_arginfo.h

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

0 commit comments

Comments
 (0)