summaryrefslogtreecommitdiffstats
path: root/remote.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-16 10:58:26 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-27 15:50:22 +0200
commit3ec8dce3cc1d47b373ecb0a3eeb4f8a333da9cce (patch)
tree91d30aad79502457153a2d8fcede374c009018e2 /remote.php
parent220d71d99798df9d64873be0d67a35989258754e (diff)
downloadnextcloud-server-3ec8dce3cc1d47b373ecb0a3eeb4f8a333da9cce.tar.gz
nextcloud-server-3ec8dce3cc1d47b373ecb0a3eeb4f8a333da9cce.zip
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'remote.php')
-rw-r--r--remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.php b/remote.php
index 5254b2b7419..59ba8372288 100644
--- a/remote.php
+++ b/remote.php
@@ -81,7 +81,7 @@ function handleException($e) {
}
if ($e instanceof RemoteException) {
// we shall not log on RemoteException
- OC_Template::printErrorPage($e->getMessage(), '', $e->getCode());
+ OC_Template::printErrorPage($e->getMessage(), '', (int)$e->getCode());
} else {
\OC::$server->getLogger()->logException($e, ['app' => 'remote']);
OC_Template::printExceptionErrorPage($e, $statusCode);