Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | trait BadStorageSizeTrait |
||
19 | { |
||
20 | /** |
||
21 | * Check bad storage size. |
||
22 | * |
||
23 | * @param int $size Size expressed in number of tokens |
||
24 | * |
||
25 | * @return void |
||
26 | * |
||
27 | * @throws BadStorageSizeException If $size is less than 2 and greater than 64 |
||
28 | */ |
||
29 | 8 | protected function checkBadStorageSize(int $size): void |
|
36 |