GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 6fd524...ba304a )
by Maximilian
07:36
created

BitField::guardAgainstBounds()   A

Complexity

Conditions 4
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.2
c 0
b 0
f 0
cc 4
eloc 3
nc 2
nop 1
1
<?php
2
3
namespace maxwilms\BloomFilter;
4
5
interface BitField
6
{
7
    public function __construct($length);
8
9
    /**
10
     * @param integer $bit set the bit
11
     * @throws \InvalidArgumentException
12
     */
13
    public function set($bit);
14
15
    /**
16
     * @param integer $bit check if bit is set
17
     * @return bool
18
     * @throws \InvalidArgumentException
19
     */
20
    public function has($bit);
21
22
}
23