| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | final class Md5Hasher implements HasherInterface |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | * |
||
| 32 | * 8 hexits = 32bit, which also allows us to forego having to check whether |
||
| 33 | * it is over PHP_INT_MAX. |
||
| 34 | * |
||
| 35 | * The substring is converted to an int since hex strings sometimes get |
||
| 36 | * treated as ints if all digits are ints and this results in unexpected |
||
| 37 | * sorting order. |
||
| 38 | */ |
||
| 39 | 2 | #[Override] |
|
| 45 |