Skip to content

Commit 76ffeaa

Browse files
author
Anton Shabouta
committed
Minor fixes
1 parent f0f1499 commit 76ffeaa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ $buffer
3737

3838
```
3939

40-
More examples can be found in [`examples`](examples) directory.
41-
4240
## Change log
4341

4442
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

src/Binary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(string $buffer = '')
4242
$this->data = $buffer;
4343
$this->size = \strlen($this->data);
4444

45-
if (self::$native64BitPack === null) {
45+
if (!isset(self::$native64BitPack)) {
4646
self::$native64BitPack = PHP_INT_SIZE === 8;
4747
self::$isLittleEndian = \unpack("S", "\x01\x00")[1] === 1;
4848
}

0 commit comments

Comments
 (0)