We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe89d52 commit dd295caCopy full SHA for dd295ca
src/Security/User.php
@@ -51,10 +51,10 @@ class User
51
/** default role for authenticated user without own identity */
52
public string $authenticatedRole = 'authenticated';
53
54
- /** @var callable[] function (User $sender): void; Occurs when the user is successfully logged in */
+ /** @var array<callable(self): void> Occurs when the user is successfully logged in */
55
public array $onLoggedIn = [];
56
57
- /** @var callable[] function (User $sender): void; Occurs when the user is logged out */
+ /** @var array<callable(self): void> Occurs when the user is logged out */
58
public array $onLoggedOut = [];
59
60
private ?IIdentity $identity = null;
0 commit comments