Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
39 | public function createParser(WriterInterface $writer) : MainParser |
||
|
|||
40 | { |
||
41 | $catParser = new CategoryParser($this->conferenceParser, $this->client, $this->output); |
||
42 | $yearParser = new YearParser($catParser, $this->client); |
||
43 | |||
44 | return new MainParser( |
||
45 | $yearParser, |
||
46 | $this->client, |
||
47 | (new DateTimeImmutable())->format('Y') |
||
48 | ); |
||
49 | } |
||
50 | } |
||
51 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.