Skip to content

Commit 8057bc4

Browse files
committed
fix: Variable hint
1 parent df7ba11 commit 8057bc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/Stateful/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
class User extends \Auth0\Symfony\Models\User implements UserInterface
1010
{
11-
protected $roleAuthenticatedUsing = 'ROLE_USING_SESSION';
11+
protected array $roleAuthenticatedUsing = ['ROLE_USING_SESSION'];
1212
}

src/Models/Stateless/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
class User extends \Auth0\Symfony\Models\User implements UserInterface
1010
{
11-
protected $roleAuthenticatedUsing = 'ROLE_USING_TOKEN';
11+
protected array $roleAuthenticatedUsing = ['ROLE_USING_TOKEN'];
1212
}

0 commit comments

Comments
 (0)