Skip to content
Snippets Groups Projects
Commit d806a265 authored by Jan Kuchař's avatar Jan Kuchař
Browse files

Merge branch 'better-types-for-phpstan' into 'master'

Better types for phpstan

See merge request !3
parents 97e94920 0e984c74
No related branches found
No related tags found
1 merge request!3Better types for phpstan
Pipeline #30043 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