Total Complexity | 1 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class ExpenseClaimStatusIsNew implements AssertionInterface |
||
15 | { |
||
16 | /** |
||
17 | * Assert that the accounting document's expense claim is new (not processed yet) |
||
18 | * |
||
19 | * @param Acl $acl |
||
20 | * @param RoleInterface $role |
||
21 | * @param ResourceInterface $resource |
||
22 | * @param string $privilege |
||
23 | * |
||
24 | * @return bool |
||
25 | */ |
||
26 | 5 | public function assert(Acl $acl, RoleInterface $role = null, ResourceInterface $resource = null, $privilege = null) |
|
34 |
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.