diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-10-19 18:11:53 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-11-23 11:28:56 +0300 |
commit | 113756db30fcbffe9e90b54c29e78dee0676109f (patch) | |
tree | 8eeaad5ea33957cd2c9ef37dbb05c5e779c48216 /apps/theming/lib | |
parent | 129de6079e53e0ac9dbf9d7c25ec1670ae0ff572 (diff) |
Fix ArrayAccess and JsonSerializable return types
First round of modifications for PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r-- | apps/theming/lib/Service/JSDataService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Service/JSDataService.php b/apps/theming/lib/Service/JSDataService.php index a6e5d6f8e36..1c4d138a764 100644 --- a/apps/theming/lib/Service/JSDataService.php +++ b/apps/theming/lib/Service/JSDataService.php @@ -50,7 +50,7 @@ class JSDataService implements \JsonSerializable { $this->appConfig = $appConfig; } - public function jsonSerialize() { + public function jsonSerialize(): array { return [ 'name' => $this->themingDefaults->getName(), 'url' => $this->themingDefaults->getBaseUrl(), |