Skip to content
Snippets Groups Projects
Commit ae0fad8d authored by Stephen Mustgrave's avatar Stephen Mustgrave
Browse files

Issue #3451581 by MahmoudSayed96, C-Logemann: Get server uid function return unexpected type null

parent eaa94a09
No related branches found
Tags 8.x-1.0-rc1
No related merge requests found
Pipeline #211030 passed with warnings
......@@ -410,7 +410,7 @@ class SecurityReview {
* UID of the web server's user.
*/
public function getServerUid(): int {
return $this->state->get('security_review.server.uid');
return $this->state->get('security_review.server.uid') ?? -1;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment