Skip to content

Commit 94cc0ce

Browse files
authored
fix: code style (#1269)
* fix cs
1 parent 96825d6 commit 94cc0ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Authorization/Traits/Authorizable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ private function savePermissions(): void
366366
}
367367

368368
/**
369-
* @phpstan-param 'group'|'permission' $type
370-
* @param GroupModel|PermissionModel $model
369+
* @param 'group'|'permission' $type
370+
* @param GroupModel|PermissionModel $model
371371
*/
372372
private function saveGroupsOrPermissions(string $type, $model, array $cache): void
373373
{

src/Models/UserIdentityModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ private function checkUserId(User $user): void
105105
/**
106106
* Create an identity with 6 digits code for auth action
107107
*
108-
* @phpstan-param array{type: string, name: string, extra: string} $data
109-
* @param callable $codeGenerator generate secret code
108+
* @param array{type: string, name: string, extra: string} $data
109+
* @param callable $codeGenerator generate secret code
110110
*
111111
* @return string secret
112112
*/

0 commit comments

Comments
 (0)