mirror of
https://github.com/nextcloud/server.git
synced 2024-08-31 05:58:34 +02:00
Fixes psalm errors: RedundantCondition and TypeDoesNotContainNull.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
This commit is contained in:
parent
dd67635560
commit
57ff06576a
@ -83,7 +83,7 @@ class AvatarManager implements IAvatarManager {
|
||||
// sanitize userID - fixes casing issue (needed for the filesystem stuff that is done below)
|
||||
$userId = $user->getUID();
|
||||
|
||||
$requestingUser = $this->userSession?->getUser();
|
||||
$requestingUser = $this->userSession->getUser();
|
||||
|
||||
try {
|
||||
$folder = $this->appData->getFolder($userId);
|
||||
|
Loading…
Reference in New Issue
Block a user