Total Complexity | 6 |
Total Lines | 65 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | trait AssertLinksObject |
||
9 | { |
||
10 | /** |
||
11 | * Asserts that a links object is valid. |
||
12 | * |
||
13 | * @param array $links |
||
14 | * @param array $allowedMembers |
||
15 | * |
||
16 | * @throws PHPUnit\Framework\ExpectationFailedException |
||
17 | */ |
||
18 | 11 | public static function assertIsValidLinksObject($links, $allowedMembers) |
|
32 | } |
||
33 | 6 | } |
|
34 | |||
35 | /** |
||
36 | * Asserts that a link object is valid. |
||
37 | * |
||
38 | * @param array $link |
||
39 | * |
||
40 | * @throws PHPUnit\Framework\ExpectationFailedException |
||
41 | */ |
||
42 | 14 | public static function assertIsValidLinkObject($link) |
|
76 |
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.