| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class Shipment extends \WebServCo\Api\JsonApi\AbstractResourceObject |
||
| 5 | { |
||
| 6 | const TYPE = 'shipment'; |
||
| 7 | const DATE_FORMAT = 'Y-m-d'; |
||
| 8 | const SERVICE_ECONOMY = 'economy'; |
||
| 9 | const SERVICE_EXPRESS = 'express'; |
||
| 10 | const CURRENCY_EUR = 'EUR'; |
||
| 11 | |||
| 12 | public function __construct($id = null) |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getService() |
||
| 20 | { |
||
| 21 | return $this->getMeta('service'); |
||
|
|
|||
| 22 | } |
||
| 23 | |||
| 24 | public function setService($service) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function setStatus(int $status) |
||
| 36 |
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.