Total Complexity | 7 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 84.62% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | abstract class AbstractArgument implements ArgumentInterface |
||
11 | { |
||
12 | private readonly string $description; |
||
13 | |||
14 | 1 | public function __construct( |
|
22 | } |
||
23 | } |
||
24 | |||
25 | 1 | public function getName(): string |
|
28 | } |
||
29 | |||
30 | 1 | public function getDescription(): ?string |
|
31 | { |
||
32 | /** @psalm-suppress RedundantPropertyInitializationCheck */ |
||
33 | 1 | return $this->description ?? null; |
|
34 | } |
||
35 | |||
36 | 1 | public function getType(): string |
|
37 | { |
||
38 | 1 | return $this->type; |
|
39 | } |
||
40 | |||
41 | 1 | public function getMode(): int |
|
42 | { |
||
43 | 1 | return $this->mode; |
|
44 | } |
||
45 | |||
46 | public function hasDefaultValue(): bool |
||
49 | } |
||
50 | } |
||
51 |