Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-16 22:01:38 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-16 22:01:38 +0300
commitcdfffe7bda61847f39cf956e00b69d657570e69a (patch)
tree3cc617bb0f6b71090ac8b2a92abd71ec3f4d3bec /lib/public/OCS
parent13a787e2f5d22e4cd8204f4524ea3e2c4eba4d32 (diff)
Strict DiscoveryService
* Made strict * Type hints * Return types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/OCS')
-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;
}