| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class AccountHasNoTransaction implements NamedAssertion |
||
| 14 | { |
||
| 15 | public function getName(): string |
||
| 16 | { |
||
| 17 | return "le compte et ses sous-comptes n'ont aucune écritures"; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Assert that the account, or any of its subaccounts, have no transaction at all. |
||
| 22 | * |
||
| 23 | * @param \Application\Acl\Acl $acl |
||
| 24 | * @param string $privilege |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | public function assert(Acl $acl, ?RoleInterface $role = null, ?ResourceInterface $resource = null, $privilege = null) |
||
| 38 | } |
||
| 39 | } |
||
| 40 |
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.