1 | <?php |
||
11 | abstract class RelatedPosition implements RelatedPositionInterface |
||
12 | { |
||
13 | /** @var CartPositionInterface */ |
||
14 | public $mainPosition; |
||
15 | |||
16 | /** @var ShoppingCart */ |
||
17 | public $cart; |
||
18 | |||
19 | public function __construct(CartPositionInterface $mainPosition) |
||
24 | |||
25 | /** @inheritDoc */ |
||
26 | public function render(): string |
||
30 | |||
31 | public function calculate(CartPositionInterface $position): CartPositionInterface |
||
43 | |||
44 | } |
||
45 |
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.