diff options
Diffstat (limited to 'lib/private/Http/Client/ClientService.php')
-rw-r--r-- | lib/private/Http/Client/ClientService.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Http/Client/ClientService.php b/lib/private/Http/Client/ClientService.php index 108ffa709cf..1df54010a2d 100644 --- a/lib/private/Http/Client/ClientService.php +++ b/lib/private/Http/Client/ClientService.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @@ -23,6 +24,7 @@ namespace OC\Http\Client; use GuzzleHttp\Client as GuzzleClient; +use OCP\Http\Client\IClient; use OCP\Http\Client\IClientService; use OCP\ICertificateManager; use OCP\IConfig; @@ -51,7 +53,7 @@ class ClientService implements IClientService { /** * @return Client */ - public function newClient() { + public function newClient(): IClient { return new Client($this->config, $this->certificateManager, new GuzzleClient()); } } |