1 | <?php |
||
7 | class Tracks |
||
8 | { |
||
9 | use ReadableAttributes { |
||
10 | mayHaveAsString as public getCarrier; |
||
11 | mayHaveAsString as public getTrackingNumber; |
||
12 | mayHaveAsString as public getEta; |
||
13 | mayHaveAsString as public getMetadata; |
||
14 | toArray as public __toArray; |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * @return \ShippoClient\Entity\TrackingStatus |
||
19 | */ |
||
20 | public function getTrackingStatus() |
||
24 | |||
25 | /** |
||
26 | * @return \ShippoClient\Entity\TrackingHistory |
||
27 | */ |
||
28 | public function getTrackingHistory() |
||
35 | |||
36 | /** |
||
37 | * @return \ShippoClient\Entity\Location |
||
38 | */ |
||
39 | public function getAddressFrom() |
||
45 | |||
46 | /** |
||
47 | * @return \ShippoClient\Entity\Location |
||
48 | */ |
||
49 | public function getAddressTo() |
||
55 | |||
56 | /** |
||
57 | * @return \ShippoClient\Entity\ServiceLevel |
||
58 | */ |
||
59 | public function getServiceLevel() |
||
65 | |||
66 | public function toArray() |
||
79 | } |
||
80 |
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.