| Conditions | 3 |
| Paths | 4 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function __construct(Hash $hashOne = null, Hash $hashTwo = null) |
||
| 17 | { |
||
| 18 | if ($hashOne === null) { |
||
| 19 | $hashOne = new JoaatHash(); |
||
| 20 | } |
||
| 21 | |||
| 22 | if ($hashTwo === null) { |
||
| 23 | $hashTwo = new FNVHash(); |
||
| 24 | } |
||
| 25 | |||
| 26 | $this->hashOne = $hashOne; |
||
| 27 | $this->hashTwo = $hashTwo; |
||
| 28 | |||
| 29 | $this->upperBound = 0x0ffffffff; |
||
| 30 | $this->hashCount = 3; |
||
| 31 | } |
||
| 32 | |||
| 64 |