1 | <?php |
||
9 | final class IntegerExpectations extends NumericExpectations |
||
10 | { |
||
11 | /** |
||
12 | * @param mixed $value |
||
13 | * |
||
14 | * @return int |
||
15 | */ |
||
16 | 5 | protected function prepare($value): int |
|
20 | |||
21 | /** |
||
22 | * @return IntegerExpectations |
||
23 | */ |
||
24 | 2 | public function isEven(): self |
|
28 | |||
29 | /** |
||
30 | * @return IntegerExpectations |
||
31 | */ |
||
32 | 2 | public function isOdd(): self |
|
36 | } |
||
37 |