| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | public function __construct(OperationInterface $operation) |
||
| 15 | { |
||
| 16 | parent::__construct(sprintf( |
||
| 17 | 'The operation "%s" of the resource "%s" is configured to use the "%s" controller but is not an instance of "%s"', |
||
| 18 | $operation->getName(), |
||
| 19 | $operation->getResourceName(), |
||
|
|
|||
| 20 | Index::class, |
||
| 21 | CollectionOperationInterface::class, |
||
| 22 | )); |
||
| 25 |
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.