Since PHP can consider all kinds of strange things false, it's better to do:

```php
if ($sequence === null) {
    $sequence = self::randomBytes(2);
} else {
    $sequence = self::makeBin($sequence, 2);
}
```