summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-17 10:01:56 +0100
committerGitHub <noreply@github.com>2018-01-17 10:01:56 +0100
commit6e95bd7a518f587836124e7cb3a3762fb4a62e8c (patch)
treedd0ca0226eac3261ba72c88009768eed5ea6cf61 /lib/public
parent22b3280ac2b60e52049a07ada007768e3cef05ed (diff)
parent569b8413d46e7f4132793f4bc34485233b2cf60f (diff)
downloadnextcloud-server-6e95bd7a518f587836124e7cb3a3762fb4a62e8c.tar.gz
nextcloud-server-6e95bd7a518f587836124e7cb3a3762fb4a62e8c.zip
Merge pull request #7899 from nextcloud/strict_discservice
Strict DiscoveryService
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/OCS/IDiscoveryService.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/OCS/IDiscoveryService.php b/lib/public/OCS/IDiscoveryService.php
index c9e67c3acab..9a86e2a4410 100644
--- a/lib/public/OCS/IDiscoveryService.php
+++ b/lib/public/OCS/IDiscoveryService.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2017 Bjoern Schiessle <bjoern@schiessle.org>
*
@@ -45,6 +46,6 @@ interface IDiscoveryService {
* @param string $service the service you want to discover
* @return array
*/
- public function discover($remote, $service);
+ public function discover(string $remote, string $service): array;
}