1 | <?php |
||
8 | trait NumericalComparisonsTrait |
||
9 | { |
||
10 | /** |
||
11 | * Sets the minimum limit. |
||
12 | * |
||
13 | * @param numerical $limit The limit |
||
14 | * |
||
15 | * @return $self |
||
|
|||
16 | */ |
||
17 | public function min($limit) |
||
24 | |||
25 | /** |
||
26 | * Sets the maximum limit. |
||
27 | * |
||
28 | * @param numerical $limit The limit |
||
29 | * |
||
30 | * @return $self |
||
31 | */ |
||
32 | public function max($limit) |
||
39 | |||
40 | /** |
||
41 | * Sets the limits at once. |
||
42 | * |
||
43 | * @param numerical $left The bottom limit |
||
44 | * @param numerical $right The upper limit |
||
45 | * |
||
46 | * @return $self |
||
47 | */ |
||
48 | public function range($left, $right) |
||
52 | } |
||
53 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.