From 9127ee7332b7c62de9930ff69dfb704d5ebefc18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Mirtes?= Date: Sat, 18 Jul 2020 12:27:49 +0200 Subject: [PATCH] Compatibility with PHP 8 `final private` methods in PHP 8 throw a warning. --- Source/Stream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Stream.php b/Source/Stream.php index 0c0a01e..02a75f9 100644 --- a/Source/Stream.php +++ b/Source/Stream.php @@ -155,7 +155,7 @@ public function __construct(string $streamName, string $context = null, bool $wa * If the stream does not exist, try to open it by calling the * $handler->_open() method. */ - final private static function &_getStream( + private static function &_getStream( string $streamName, Stream $handler, string $context = null