aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-17 17:16:50 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-17 17:46:57 +0200
commitd7f66c36acef9334e3c9ecf750cae5bfc2f206d8 (patch)
tree4896ad25898411bfd2268b188743bf6bf3d5fd31 /lib/private/Server.php
parent00cb8e6c54d8f2a26c5770fef5fe4ae1e366d0ce (diff)
downloadnextcloud-server-d7f66c36acef9334e3c9ecf750cae5bfc2f206d8.tar.gz
nextcloud-server-d7f66c36acef9334e3c9ecf750cae5bfc2f206d8.zip
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 12abf793828..a934628a047 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -580,7 +580,7 @@ class Server extends ServerContainer implements IServerContainer {
$dispatcher->dispatchTyped(new BeforeUserLoggedInWithCookieEvent($uid));
});
$userSession->listen('\OC\User', 'postRememberedLogin', function ($user, $password) {
- /** @var $user \OC\User\User */
+ /** @var \OC\User\User $user */
\OC_Hook::emit('OC_User', 'post_login', ['run' => true, 'uid' => $user->getUID(), 'password' => $password]);
/** @var IEventDispatcher $dispatcher */