I've found this tiny documentation bug, as PhpStorm was complaining about an illegal array key type, when I used this class constant in a custom event subscriber because it is declarated as array, but is in truth a string.

The attached patch fixes that and also adds the "@Event" keyword to the comment, like the other constants do

CommentFileSizeAuthor
fix_social_auth_events_doc.patch489 bytesagoradesign

Comments

agoradesign created an issue. See original summary.

gvso’s picture

Title: USER_FIELDS constant in SocialAuthEvents class is documented wrong » Edit USER_FIELDS constant documentation in SocialAuthEvents class

  • gvso committed dc5dd11 on 8.x-1.x
    Issue #2866737 by agoradesign: Edit USER_FIELDS constant documentation...
gvso’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.