| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function __construct($fromX, $fromY, $toX, $toY, $rotation, $shape) |
||
| 27 | { |
||
| 28 | parent::__construct(); |
||
| 29 | $this->getBorder()->setLineStyle(Border::LINE_SINGLE); |
||
| 30 | |||
| 31 | $this->setOffsetX($fromX); |
||
| 32 | $this->setOffsetY($fromY); |
||
| 33 | $this->setWidth($toX - $fromX); |
||
| 34 | $this->setHeight($toY - $fromY); |
||
| 35 | $this->setRotation($rotation); |
||
| 36 | $this->setGenericShape($shape); |
||
|
|
|||
| 37 | |||
| 38 | } |
||
| 39 | |||
| 51 |
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.