Skip to content

Commit e9607d6

Browse files
committed
Fix phpstan.
1 parent f1a5579 commit e9607d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FileStreamWrapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ public function stream_metadata(string $path, int $option, $value): bool
329329
switch ($option) {
330330
case STREAM_META_TOUCH:
331331
/** @var array<int|null> $value */
332+
/** @phpstan-ignore-next-line */
332333
if (!isset($value[0]) || is_null($value[0])) {
333334
$r = touch($path);
334335
} else {

0 commit comments

Comments
 (0)