Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Shape extends AbstractFfi |
||
11 | { |
||
12 | public function __construct(Body $body, Vector $a, Vector $b, float $radius) |
||
13 | { |
||
14 | parent::__construct(); |
||
15 | |||
16 | $this->setCData( |
||
17 | $this->getFfi()->cpSegmentShapeNew( |
||
|
|||
18 | $body->getCData(), |
||
19 | $a->getCData(), |
||
20 | $b->getCData(), |
||
21 | $radius |
||
22 | ) |
||
23 | ); |
||
24 | } |
||
25 | |||
26 | public function getFriction(): float |
||
29 | } |
||
30 | |||
31 | public function setFriction(float $friction): self |
||
38 |
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.