Skip to content

Commit 8643c41

Browse files
committed
Adding parenthesis
1 parent ba60683 commit 8643c41

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/BitArray/BitArray.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ class BitArray implements \ArrayAccess, \Countable, \IteratorAggregate, \JsonSer
4949
* @var integer[] Mask for restricting complements
5050
*/
5151
private static $restrict = [
52-
1 << 0 | 1 << 1 | 1 << 2 | 1 << 3 | 1 << 4 | 1 << 5 | 1 << 6 | 1 << 7,
53-
1 << 0,
54-
1 << 0 | 1 << 1,
55-
1 << 0 | 1 << 1 | 1 << 2,
56-
1 << 0 | 1 << 1 | 1 << 2 | 1 << 3,
57-
1 << 0 | 1 << 1 | 1 << 2 | 1 << 3 | 1 << 4,
58-
1 << 0 | 1 << 1 | 1 << 2 | 1 << 3 | 1 << 4 | 1 << 5,
59-
1 << 0 | 1 << 1 | 1 << 2 | 1 << 3 | 1 << 4 | 1 << 5 | 1 << 6,
52+
(1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5) | (1 << 6) | (1 << 7),
53+
(1 << 0),
54+
(1 << 0) | (1 << 1),
55+
(1 << 0) | (1 << 1) | (1 << 2),
56+
(1 << 0) | (1 << 1) | (1 << 2) | (1 << 3),
57+
(1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4),
58+
(1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5),
59+
(1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5) | (1 << 6),
6060
];
6161

6262
/**

0 commit comments

Comments
 (0)