From c790a8fa467ff5d3f11b0e7c1f3698abbe37b182 Mon Sep 17 00:00:00 2001 From: Ivan Fedorov Date: Tue, 19 Oct 2021 20:10:49 +0200 Subject: [PATCH] [phpstorm-stubs] mark ob_get_contents as pure but depending on global scope --- standard/standard_8.php | 1 + 1 file changed, 1 insertion(+) diff --git a/standard/standard_8.php b/standard/standard_8.php index 4bcec1947..9e289082c 100644 --- a/standard/standard_8.php +++ b/standard/standard_8.php @@ -352,6 +352,7 @@ function ob_get_status(bool $full_status = false): array {} * @return string|false This will return the contents of the output buffer or false, if output * buffering isn't active. */ +#[Pure(true)] function ob_get_contents(): string|false {} /**