]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Merge pull request #10657 from annando/self-unfollow
[friendica.git] / static / dependencies.config.php
index f07a61807e8aed3921c6afbb577db3192cb8da11..2068b6b1ad63d6f12bc0c1e220aeb7eca5972b6d 100644 (file)
@@ -220,8 +220,11 @@ return [
                        ['getBackend', [], Dice::CHAIN_CALL],
                ],
        ],
-       Network\IHTTPRequest::class => [
-               'instanceOf' => Network\HTTPRequest::class,
+       Network\IHTTPClient::class => [
+               'instanceOf' => Factory\HTTPClientFactory::class,
+               'call'       => [
+                       ['createClient', [], Dice::CHAIN_CALL],
+               ],
        ],
        Factory\Api\Mastodon\Error::class => [
                'constructParams' => [
@@ -232,5 +235,5 @@ return [
                'constructParams' => [
                        [Dice::INSTANCE => Util\ReversedFileReader::class],
                ]
-       ]
+       ],
 ];