aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Http/Client/IClientService.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-16 16:41:41 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-16 19:19:58 +0100
commita345605ec19e3e840cf9646bcd35377fb2c254a1 (patch)
tree31ddc564b6001c543ed35a4324607c5d19db2d84 /lib/public/Http/Client/IClientService.php
parent13a787e2f5d22e4cd8204f4524ea3e2c4eba4d32 (diff)
downloadnextcloud-server-a345605ec19e3e840cf9646bcd35377fb2c254a1.tar.gz
nextcloud-server-a345605ec19e3e840cf9646bcd35377fb2c254a1.zip
Make OCP\Http strict
* Handle private files * Add return types * Add scalar typehints * Made strict * Fixed requiring proper guzzle message interface that is passed around Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/Http/Client/IClientService.php')
-rw-r--r--lib/public/Http/Client/IClientService.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/Http/Client/IClientService.php b/lib/public/Http/Client/IClientService.php
index 09a1f1f7b40..d34302744e1 100644
--- a/lib/public/Http/Client/IClientService.php
+++ b/lib/public/Http/Client/IClientService.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
@@ -34,5 +35,5 @@ interface IClientService {
* @return IClient
* @since 8.1.0
*/
- public function newClient();
+ public function newClient(): IClient;
}