diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-17 10:01:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 10:01:56 +0100 |
commit | 6e95bd7a518f587836124e7cb3a3762fb4a62e8c (patch) | |
tree | dd0ca0226eac3261ba72c88009768eed5ea6cf61 /lib/public | |
parent | 22b3280ac2b60e52049a07ada007768e3cef05ed (diff) | |
parent | 569b8413d46e7f4132793f4bc34485233b2cf60f (diff) | |
download | nextcloud-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.php | 3 |
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; } |