diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-10-19 17:11:53 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-11-23 09:28:56 +0100 |
commit | 113756db30fcbffe9e90b54c29e78dee0676109f (patch) | |
tree | 8eeaad5ea33957cd2c9ef37dbb05c5e779c48216 /lib/private/Contacts | |
parent | 129de6079e53e0ac9dbf9d7c25ec1670ae0ff572 (diff) | |
download | nextcloud-server-113756db30fcbffe9e90b54c29e78dee0676109f.tar.gz nextcloud-server-113756db30fcbffe9e90b54c29e78dee0676109f.zip |
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 'lib/private/Contacts')
-rw-r--r-- | lib/private/Contacts/ContactsMenu/Actions/LinkAction.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php b/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php index 5acafed2fda..3f917854aac 100644 --- a/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php +++ b/lib/private/Contacts/ContactsMenu/Actions/LinkAction.php @@ -106,10 +106,7 @@ class LinkAction implements ILinkAction { return $this->appId; } - /** - * @return array - */ - public function jsonSerialize() { + public function jsonSerialize(): array { return [ 'title' => $this->name, 'icon' => $this->icon, |