diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-11-23 15:41:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 15:41:20 +0100 |
commit | fd487c1a43874bf7eaeebe2ff822e18978b6d1e1 (patch) | |
tree | a69c74aa76577beac40700eaf47d28b5e8bd1af9 /apps/user_status/lib | |
parent | 20dd46fcaed56b7df151fe1a5273cdadc22a583e (diff) | |
parent | 18a91f02fadf108bfa1a60f258ebacd2f802224b (diff) | |
download | nextcloud-server-fd487c1a43874bf7eaeebe2ff822e18978b6d1e1.tar.gz nextcloud-server-fd487c1a43874bf7eaeebe2ff822e18978b6d1e1.zip |
Merge pull request #29432 from nextcloud/fix/support-php-8.1
Support PHP 8.1 - First batch
Diffstat (limited to 'apps/user_status/lib')
-rw-r--r-- | apps/user_status/lib/Service/JSDataService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_status/lib/Service/JSDataService.php b/apps/user_status/lib/Service/JSDataService.php index 6d83591ab2f..c08643ec64f 100644 --- a/apps/user_status/lib/Service/JSDataService.php +++ b/apps/user_status/lib/Service/JSDataService.php @@ -49,7 +49,7 @@ class JSDataService implements \JsonSerializable { $this->statusService = $statusService; } - public function jsonSerialize() { + public function jsonSerialize(): array { $user = $this->userSession->getUser(); if ($user === null) { |