Skip to content

Commit 64b5463

Browse files
committed
Update Bitmap.php
1 parent 3fff468 commit 64b5463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bitmap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ public function __construct($bitmap = 0)
1313

1414
public function isSet($index)
1515
{
16-
return $this->_bitmap & (1 << $index);
16+
return 0 !== $this->_bitmap & (1 << $index);
1717
}
1818
}

0 commit comments

Comments
 (0)