From cdfffe7bda61847f39cf956e00b69d657570e69a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 16 Jan 2018 20:01:38 +0100 Subject: Strict DiscoveryService * Made strict * Type hints * Return types Signed-off-by: Roeland Jago Douma --- lib/public/OCS/IDiscoveryService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/public') 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 @@ * @@ -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; } -- cgit v1.2.3