Skip to content

Commit a88ca91

Browse files
committed
Ignore PHPStan error
1 parent 9b57fff commit a88ca91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StreamReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private function readHeader(): Header
172172
switch($header->getType()) {
173173
case 'x':
174174
$paxHeader = $header;
175-
$paxData = fread($this->stream, $paxHeader->getSize());
175+
$paxData = fread($this->stream, $paxHeader->getSize()); // @phpstan-ignore argument.type
176176
if ($paxData === false) {
177177
throw new InvalidArchiveFormatException(
178178
'Invalid TAR archive format: Unexpected end of file, expected PAX header data'

0 commit comments

Comments
 (0)