mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Fixes psalm errors: RedundantCondition and TypeDoesNotContainNull.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
This commit is contained in:
parent
dd67635560
commit
57ff06576a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue