| 1 | <?php |
||
| 7 | abstract class RelatedPosition implements RelatedPositionInterface |
||
| 8 | { |
||
| 9 | /** @var CartPositionInterface */ |
||
| 10 | public $mainPosition; |
||
| 11 | |||
| 12 | /** @var ShoppingCart */ |
||
| 13 | public $cart; |
||
| 14 | |||
| 15 | public function __construct(CartPositionInterface $mainPosition) |
||
| 20 | |||
| 21 | /** @inheritDoc */ |
||
| 22 | public function render(): string |
||
| 26 | |||
| 27 | public function calculate(CartPositionInterface $position): CartPositionInterface |
||
| 39 | |||
| 40 | } |
||
| 41 |
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.