Skip to content

Commit

Permalink
Merge pull request #360 from oat-sa/release-19.0.2-1
Browse files Browse the repository at this point in the history
Release 19.0.2 1
  • Loading branch information
poyuki authored May 10, 2023
2 parents 06bc45c + 33c6756 commit 44ca821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qtism/common/storage/BinaryStreamAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function readInteger(): int
try {
$bin = $this->getStream()->read(4);

return (int)current(unpack('l', $bin));
return (int)current($this->tryUnpack('l', $bin));
} catch (StreamException $e) {
$this->handleBinaryStreamException($e, BinaryStreamAccessException::INT);
}
Expand Down

0 comments on commit 44ca821

Please sign in to comment.