Skip to content
Snippets Groups Projects
Commit 0e984c74 authored by Václav Pávek's avatar Václav Pávek
Browse files

better types for phpstan

parent 97e94920
No related branches found
No related tags found
1 merge request!3Better types for phpstan
Pipeline #30039 passed
......@@ -9,9 +9,9 @@ interface Authorizator
{
/**
* @param Identity $identity
* @param Identity $identity
* @param AuthorizationScope $scope
* @param array $action pair [string $resource, string $privilege]
* @param array{string, string} $action pair [string $resource, string $privilege]
* @return bool
*/
public function isAllowed(Identity $identity, AuthorizationScope $scope, array $action): bool;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment