| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class BookingIsPendingApplication implements AssertionInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Assert that a booking is a pending application |
||
| 19 | * |
||
| 20 | * @param \Application\Acl\Acl $acl |
||
| 21 | * @param RoleInterface $role |
||
| 22 | * @param ResourceInterface $resource |
||
| 23 | * @param string $privilege |
||
| 24 | * |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | 1 | public function assert(Acl $acl, ?RoleInterface $role = null, ?ResourceInterface $resource = null, $privilege = null) |
|
| 45 |
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.