Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Authorization/Traits/Authorizable.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ private function savePermissions(): void
}

/**
* @phpstan-param 'group'|'permission' $type
* @param GroupModel|PermissionModel $model
* @param 'group'|'permission' $type
* @param GroupModel|PermissionModel $model
*/
private function saveGroupsOrPermissions(string $type, $model, array $cache): void
{
Expand Down
4 changes: 2 additions & 2 deletions src/Models/UserIdentityModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ private function checkUserId(User $user): void
/**
* Create an identity with 6 digits code for auth action
*
* @phpstan-param array{type: string, name: string, extra: string} $data
* @param callable $codeGenerator generate secret code
* @param array{type: string, name: string, extra: string} $data
* @param callable $codeGenerator generate secret code
*
* @return string secret
*/
Expand Down
Loading