Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class StandardInt extends AbstractMySqlIntegerCase implements ValidateRuleInterface |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | 27 | protected function minSignedValue() |
|
17 | { |
||
18 | 27 | return -2147483648; |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | 21 | protected function maxSignedValue() |
|
25 | { |
||
26 | 21 | return 2147483647; |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | 18 | protected function maxUnsignedValue() |
|
33 | { |
||
34 | 18 | return 4294967295; |
|
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | 24 | protected function minUnSignedValue() |
|
43 | } |
||
44 | } |
||
45 |