summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/AvatarController.php2
-rw-r--r--core/Controller/WebAuthnController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php
index c279edf25ad..b5d34c3ccb9 100644
--- a/core/Controller/AvatarController.php
+++ b/core/Controller/AvatarController.php
@@ -259,7 +259,7 @@ class AvatarController extends Controller {
/**
* @NoAdminRequired
- *
+ *
* @return JSONResponse
*/
public function deleteAvatar() {
diff --git a/core/Controller/WebAuthnController.php b/core/Controller/WebAuthnController.php
index 0b98a58c1eb..4cbea8390d5 100644
--- a/core/Controller/WebAuthnController.php
+++ b/core/Controller/WebAuthnController.php
@@ -75,7 +75,7 @@ class WebAuthnController extends Controller {
Util::emitHook(
'\OCA\Files_Sharing\API\Server2Server',
'preLoginNameUsedAsUserName',
- array('uid' => &$uid)
+ ['uid' => &$uid]
);
$this->logger->debug('Got UID: ' . $uid);