| Total Complexity | 1 | 
| Total Lines | 15 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 23 | class Xxh32Hasher implements HasherInterface  | 
            ||
| 24 | { | 
            ||
| 25 | /**  | 
            ||
| 26 |      * {@inheritDoc} | 
            ||
| 27 | *  | 
            ||
| 28 | * 8 hexits = 32bit, which also allows us to forego having to check whether  | 
            ||
| 29 | * it is over PHP_INT_MAX.  | 
            ||
| 30 | *  | 
            ||
| 31 | * The substring is converted to an int since hex strings sometimes get  | 
            ||
| 32 | * treated as ints if all digits are ints and this results in unexpected  | 
            ||
| 33 | * sorting order.  | 
            ||
| 34 | */  | 
            ||
| 35 | 2 | public function hash(string $string): int  | 
            |
| 40 |