Get server uid function return unexpected type null

Created on 31 May 2024, 8 months ago
Updated 12 July 2024, 6 months ago

When running drush `drush secrev` return exception

TypeError: Drupal\security_review\SecurityReview::getServerUid(): Return value must be of type int,
null returned in Drupal\security_review\SecurityReview->getServerUid()

It was fixed by making the return type of function mixed int and null.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡¬Egypt mahmoudsayed96 Cairo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024