Skip to content

Commit cdb1b35

Browse files
committed
Merge pull request #8 from jeremiahar/master
Fix Int8 OutOfBoundsException typo
2 parents 8bf11ed + ba4f329 commit cdb1b35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Type/Int8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Int8 implements TypeInterface
2323
public function read(BinaryReader &$br, $length = null)
2424
{
2525
if (!$br->canReadBytes(1)) {
26-
throw new \OutOfBoundsException('Cannot read 32-bit int, it exceeds the boundary of the file');
26+
throw new \OutOfBoundsException('Cannot read 8-bit int, it exceeds the boundary of the file');
2727
}
2828

2929
$segment = $br->readFromHandle(1);

0 commit comments

Comments
 (0)