Completed
Push — master ( 882cbc...a9ee6a )
by
unknown
15:23
created

src/endpoints/Module/InOutControl/VO/Count.php (1 issue)

Upgrade to new PHP Analysis Engine

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
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_STRING, expecting T_FUNCTION or T_CONST
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