Skip to content

Commit 748ef0a

Browse files
committed
Restore Comment
I don't get it. Phpstan should pass this statement in Php8.3, but doesn't.
1 parent 333cb21 commit 748ef0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Reader/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ private function readEnding(): string
171171
{
172172
$meta = stream_get_meta_data($this->fileHandle);
173173
// Phpstan incorrectly flags following line for Php8.2-, corrected in 8.3
174-
$filename = $meta['uri'];
174+
$filename = $meta['uri']; //@phpstan-ignore-line
175175

176176
$size = (int) filesize($filename);
177177
if ($size === 0) {

0 commit comments

Comments
 (0)