diff options
Diffstat (limited to 'lib/public/Mail/Provider/IManager.php')
-rw-r--r-- | lib/public/Mail/Provider/IManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Mail/Provider/IManager.php b/lib/public/Mail/Provider/IManager.php index ff01f93d2a4..3c639ef21ef 100644 --- a/lib/public/Mail/Provider/IManager.php +++ b/lib/public/Mail/Provider/IManager.php @@ -63,7 +63,7 @@ interface IManager { * * @return IProvider|null */ - public function findProviderById(string $providerId): IProvider|null; + public function findProviderById(string $providerId): ?IProvider; /** * retrieve all services for all registered mail providers @@ -87,7 +87,7 @@ interface IManager { * * @return IService|null returns service object or null if none found */ - public function findServiceById(string $userId, string $serviceId, ?string $providerId = null): IService|null; + public function findServiceById(string $userId, string $serviceId, ?string $providerId = null): ?IService; /** * retrieve a service for a specific mail address @@ -101,6 +101,6 @@ interface IManager { * * @return IService|null returns service object or null if none found */ - public function findServiceByAddress(string $userId, string $address, ?string $providerId = null): IService|null; + public function findServiceByAddress(string $userId, string $address, ?string $providerId = null): ?IService; } |