Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
25 | trait JsonLdContextTrait |
||
26 | { |
||
27 | /** |
||
28 | * Updates the given JSON-LD document to add its @context key. |
||
29 | */ |
||
30 | private function addJsonLdContext(ContextBuilderInterface $contextBuilder, string $resourceClass, array &$context, array $data = []): array |
||
47 | } |
||
48 | |||
49 | private function createJsonLdContext(ContextBuilderInterface $contextBuilder, $object, array &$context, array $data = []): array |
||
60 |
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.