summaryrefslogtreecommitdiffstats
path: root/lib/Service/Social/XingProvider.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-31 14:06:39 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-11-30 17:25:07 +0000
commitede93bcb6e6d8ebe8fa326b902bdfd6c63efa1a6 (patch)
tree019dc5d7f8f854bfc313636ee4be1727e50011d6 /lib/Service/Social/XingProvider.php
parentff8cd43f62e3e423f2cd1db971b2ffd385ae0ca4 (diff)
fix(socialavatars): Fix HTTP client usagebackport/3681/stable5.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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();
}
/**