| 1 | <?php |
||
| 16 | class Relationship implements JsonSerializable |
||
| 17 | { |
||
| 18 | use LinksTrait, SelfLinkTrait, RelatedLinkTrait, PaginationLinksTrait, MetaTrait; |
||
| 19 | |||
| 20 | private $data; |
||
| 21 | |||
| 22 | 6 | private function __construct() |
|
| 25 | |||
| 26 | public static function fromMeta($meta) |
||
| 33 | |||
| 34 | public static function fromSelfLink($link) |
||
| 41 | |||
| 42 | public static function fromRelatedLink($link) |
||
| 49 | |||
| 50 | 6 | public static function fromData($data) |
|
| 57 | |||
| 58 | public function getData() |
||
| 62 | |||
| 63 | public function setData($data) |
||
| 67 | |||
| 68 | 3 | public function jsonSerialize() |
|
| 83 | |||
| 84 | 3 | private function buildIdentifier(ResourceInterface $resource) |
|
| 91 | } |
||
| 92 |
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.