]> 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 5efe78ddf329bd4b89592ffa2708fb7aeb1e9005..2068b6b1ad63d6f12bc0c1e220aeb7eca5972b6d 100644 (file)
@@ -46,6 +46,7 @@ use Friendica\Database\Database;
 use Friendica\Factory;
 use Friendica\Model\Storage\IWritableStorage;
 use Friendica\Model\User\Cookie;
+use Friendica\Model\Log\ParsedLogIterator;
 use Friendica\Network;
 use Friendica\Util;
 use Psr\Log\LoggerInterface;
@@ -219,12 +220,20 @@ 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' => [
                        $_SERVER
                ],
        ],
+       ParsedLogIterator::class => [
+               'constructParams' => [
+                       [Dice::INSTANCE => Util\ReversedFileReader::class],
+               ]
+       ],
 ];