Skip to content

Conversation

@RhinosF1
Copy link
Contributor

No description provided.

* @param User | null $user
* @param string | null $username
*/
public static function onAuthManagerLoginAuthenticateAudit( $response, $user, $username ) {
Copy link
Member

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

Copy link
Member

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
*/
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants