Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
27 | public function boot(Environment $env): void |
||
28 | { |
||
29 | /** @var GrammarInterface|Grammar $grammar */ |
||
30 | $grammar = $env->get(GrammarInterface::class); |
||
31 | |||
32 | if ($delegate = $this->getDelegate()) { |
||
33 | $grammar->addDelegate($this->getRuleName(), $delegate); |
||
|
|||
34 | } |
||
35 | |||
36 | // TODO Add analyzer |
||
37 | } |
||
38 | |||
72 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.