| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | class isInPrivateConfiguredEntries implements RuleInterface |
||
| 14 | { |
||
| 15 | private Config $config; |
||
| 16 | |||
| 17 | public function __construct(Config $config) |
||
| 18 | { |
||
| 19 | $this->config = $config; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function apply(Entry $entry, EventProcessNodeInterface $event): bool |
||
| 33 | } |
||
| 34 | |||
| 35 | private function isInPrivateConfiguredEntries(Entry $currentNamespaceAccess, MatchCollectionInterface $macher): MatchedResultInterface |
||
| 40 |
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.