summaryrefslogtreecommitdiffstats
path: root/lib/Service/Social/XingProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/Social/XingProvider.php')
-rw-r--r--lib/Service/Social/XingProvider.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/Social/XingProvider.php b/lib/Service/Social/XingProvider.php
index 78443d56..b7fc6aa6 100644
--- a/lib/Service/Social/XingProvider.php
+++ b/lib/Service/Social/XingProvider.php
@@ -23,17 +23,18 @@
namespace OCA\Contacts\Service\Social;
+use OCP\Http\Client\IClient;
use OCP\Http\Client\IClientService;
class XingProvider implements ISocialProvider {
- /** @var IClientService */
+ /** @var IClient */
private $httpClient;
/** @var string */
public $name = 'xing';
public function __construct(IClientService $httpClient) {
- $this->httpClient = $httpClient->NewClient();
+ $this->httpClient = $httpClient->newClient();
}
/**