These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | declare(strict_types=1); |
||
3 | |||
4 | namespace hiapi\endpoints\Module\InOutControl\VO; |
||
5 | |||
6 | /** |
||
7 | * Class Count |
||
8 | * |
||
9 | * @author Dmytro Naumenko <[email protected]> |
||
10 | */ |
||
11 | final class Count |
||
12 | { |
||
13 | public int $count; |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
14 | |||
15 | public static function is(int $count): self |
||
16 | { |
||
17 | $self = new self; |
||
18 | $self->count = $count; |
||
19 | |||
20 | return $self; |
||
21 | } |
||
22 | } |
||
23 |