Browse Source

Fix fixable Psalm errors

Signed-off-by: Gary Kim <gary@garykim.dev>
pull/5775/head
Gary Kim 4 years ago
parent
commit
5219c0deb2
  1. 3
      lib/Federation/CloudFederationProviderTalk.php
  2. 2
      psalm.xml

3
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.
}

2
psalm.xml

@ -28,6 +28,7 @@
<referencedClass name="OCA\Circles\Model\Circle" />
<referencedClass name="OCA\Circles\Model\Member" />
<referencedClass name="OCA\DAV\CardDAV\PhotoCache" />
<referencedClass name="OCA\FederatedFileSharing\AddressHandler" />
<referencedClass name="OCA\Files_Sharing\SharedStorage" />
</errorLevel>
</UndefinedClass>
@ -43,6 +44,7 @@
<referencedClass name="OC\DB\ConnectionAdapter" />
<referencedClass name="OCA\Circles\Model\Member" />
<referencedClass name="OCA\DAV\CardDAV\PhotoCache" />
<referencedClass name="OCA\FederatedFileSharing\AddressHandler" />
</errorLevel>
</UndefinedDocblockClass>
<UndefinedInterfaceMethod>

Loading…
Cancel
Save