diff --git a/src/FileStreamWrapper.php b/src/FileStreamWrapper.php index 0b26d43..04f09c3 100644 --- a/src/FileStreamWrapper.php +++ b/src/FileStreamWrapper.php @@ -329,6 +329,7 @@ public function stream_metadata(string $path, int $option, $value): bool switch ($option) { case STREAM_META_TOUCH: /** @var array $value */ + /** @phpstan-ignore-next-line */ if (!isset($value[0]) || is_null($value[0])) { $r = touch($path); } else {