-
-
Notifications
You must be signed in to change notification settings - Fork 261
Logging: be more verbose for authevents #5890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Check commit and GitHub actions for more details
| * @param User | null $user | ||
| * @param string | null $username | ||
| */ | ||
| public static function onAuthManagerLoginAuthenticateAudit( $response, $user, $username ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type hints (including return value of void) please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add $extraData param even if it's unused just to resemble the actual hook interface.
| * @param AuthenticationResponse $response | ||
| * @param User | null $user | ||
| * @param string | null $username | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment can be removed if type hinting is done as mentioned above.
No description provided.