Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 56.25% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ChainFactory extends AbstractDeclarationBasedFactory |
||
12 | { |
||
13 | /** |
||
14 | * @return Chain |
||
15 | */ |
||
16 | 1 | public function buildChain() |
|
25 | } |
||
26 | |||
27 | protected function getScraperDeclarations(): array |
||
33 | } |
||
34 | |||
35 | 1 | private function initialize(): void |
|
36 | { |
||
37 | 1 | $this->setDeclarations($this->getScraperDeclarations()); |
|
38 | 1 | $this->setClassImplements([ScraperInterface::class]); |
|
39 | 1 | } |
|
40 | |||
41 | /** |
||
42 | * @return ScraperInterface |
||
43 | */ |
||
44 | private function buildScraper(string $scraperKey) |
||
47 | } |
||
48 | } |
||
49 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.