Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | final class CrosswordCriteria |
||
8 | { |
||
9 | private string $type; |
||
10 | private int $wordCount; |
||
11 | private string $language; |
||
12 | |||
13 | public function __construct(string $language, string $type, int $wordCount) |
||
14 | { |
||
15 | $this->type = $type; |
||
16 | $this->language = $language; |
||
17 | $this->wordCount = $wordCount; |
||
18 | } |
||
19 | |||
20 | public function language(): string |
||
23 | } |
||
24 | |||
25 | public function type(): string |
||
28 | } |
||
29 | |||
30 | public function wordCount(): int |
||
35 |