From 5219c0deb24dfccb11794447da52bddfeb3d9cc9 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Tue, 29 Jun 2021 00:40:06 -0400 Subject: [PATCH] Fix fixable Psalm errors Signed-off-by: Gary Kim --- lib/Federation/CloudFederationProviderTalk.php | 3 ++- psalm.xml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Federation/CloudFederationProviderTalk.php b/lib/Federation/CloudFederationProviderTalk.php index 9cf401afdc..909b09e342 100644 --- a/lib/Federation/CloudFederationProviderTalk.php +++ b/lib/Federation/CloudFederationProviderTalk.php @@ -26,7 +26,6 @@ declare(strict_types=1); namespace OCA\Talk\Federation; use Exception; -use OC\AppFramework\Http; use OC\HintException; use OCA\FederatedFileSharing\AddressHandler; use OCA\Talk\AppInfo\Application; @@ -35,6 +34,7 @@ use OCA\Talk\Model\Attendee; use OCA\Talk\Model\AttendeeMapper; use OCA\Talk\Participant; use OCA\Talk\Service\ParticipantService; +use OCP\AppFramework\Http; use OCP\DB\Exception as DBException; use OCP\Federation\Exceptions\ActionNotSupportedException; use OCP\Federation\Exceptions\AuthenticationFailedException; @@ -172,6 +172,7 @@ class CloudFederationProviderTalk implements ICloudFederationProvider { case 'RESHARE_CHANGE_PERMISSION': return []; // TODO: Implement } + return []; // TODO: Implement notificationReceived() method. } diff --git a/psalm.xml b/psalm.xml index 4ffa77ec07..711e3dcaae 100644 --- a/psalm.xml +++ b/psalm.xml @@ -28,6 +28,7 @@ + @@ -43,6 +44,7 @@ +