Type hint "\Drupal\user\UserInterface" missing for $account in UserLoginHttpTest.php file.
Type hint "\Drupal\user\Entity\User" missing for $account in UserLoginTest.php file.

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

StatusFileSize
new1.4 KB

Kindly review a patch.

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: type_hint_missing-3106220-2.patch, failed testing. View results

hardik_patel_12’s picture

StatusFileSize
new1.66 KB
new533 bytes

Kindly review a new patch.

hardik_patel_12’s picture

Status: Needs work » Needs review
hash6’s picture

Assigned: Unassigned » hash6
idebr’s picture

Status: Needs review » Closed (duplicate)

Hi Hardik_Patel_12,

This should be fixed for the entire sniff, see #2572645: [Meta] Fix 'Drupal.Commenting.FunctionComment' coding standard