From 95a910d4084e10655c2b94e908223cce1c85106f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Fri, 26 May 2023 18:08:45 +0200 Subject: [PATCH] VfsStreamWrapper: Fix dynamically declared $context --- src/VfsStreamWrapper.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/VfsStreamWrapper.php b/src/VfsStreamWrapper.php index 45afb24..ac3cc3a 100644 --- a/src/VfsStreamWrapper.php +++ b/src/VfsStreamWrapper.php @@ -63,6 +63,9 @@ final class VfsStreamWrapper implements StreamWrapper private ?DirectoryHandler $currentDir = null; + /** @var resource|null */ + public $context; + /** @var array */ public static array $containers = [];