Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
5 | class FoundUseNamespace implements EventProcessNodeInterface |
||
6 | { |
||
7 | /** @var int */ |
||
8 | private $line; |
||
9 | |||
10 | /** @var string */ |
||
11 | private $nodeName; |
||
12 | |||
13 | /** @var bool */ |
||
14 | private $erroDetect = false; |
||
15 | |||
16 | public function __construct(int $line, string $nodeName) |
||
17 | { |
||
18 | $this->line = $line; |
||
19 | $this->nodeName = $nodeName; |
||
20 | } |
||
21 | |||
22 | public function getLine(): int |
||
23 | { |
||
24 | return $this->line; |
||
25 | } |
||
26 | |||
27 | public function getNodeName(): string |
||
30 | } |
||
31 | |||
32 | public function foundError(): void |
||
35 | } |
||
36 | |||
37 | public function withError(): bool |
||
42 |