Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion 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
* @phpstan-param 'group'|'permission' $type
*/
private function saveGroupsOrPermissions(string $type, $model, array $cache): void
{
Expand Down
2 changes: 1 addition & 1 deletion 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
* @phpstan-param array{type: string, name: string, extra: string} $data
*
* @return string secret
*/
Expand Down
Loading