| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class SameSite implements NamedAssertion |
||
| 16 | { |
||
| 17 | public function getName(): string |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Assert that the object has been created by the current user. |
||
| 24 | * |
||
| 25 | * @param \Application\Acl\Acl $acl |
||
| 26 | * @param ModelResource $resource |
||
| 27 | * @param string $privilege |
||
| 28 | * |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | 24 | public function assert(Acl $acl, ?RoleInterface $role = null, ?ResourceInterface $resource = null, $privilege = null) |
|
| 39 |
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.