Update wrong/missing references to classes
This commit is contained in:
parent
3b1f2f4f27
commit
efadab66c5
|
@ -19,9 +19,7 @@ use Friendica\DI;
|
||||||
use Friendica\Model\Event;
|
use Friendica\Model\Event;
|
||||||
use Friendica\Model\Item;
|
use Friendica\Model\Item;
|
||||||
use Friendica\Model\Profile;
|
use Friendica\Model\Profile;
|
||||||
use Friendica\Module\Login;
|
|
||||||
use Friendica\Module\Security\Login;
|
use Friendica\Module\Security\Login;
|
||||||
use Friendica\Util\ACLFormatter;
|
|
||||||
use Friendica\Util\DateTimeFormat;
|
use Friendica\Util\DateTimeFormat;
|
||||||
use Friendica\Util\Strings;
|
use Friendica\Util\Strings;
|
||||||
use Friendica\Util\Temporal;
|
use Friendica\Util\Temporal;
|
||||||
|
|
|
@ -30,7 +30,6 @@ class SessionFactory
|
||||||
* @param App\Mode $mode
|
* @param App\Mode $mode
|
||||||
* @param App\BaseURL $baseURL
|
* @param App\BaseURL $baseURL
|
||||||
* @param IConfiguration $config
|
* @param IConfiguration $config
|
||||||
* @param Cookie $cookie
|
|
||||||
* @param Database $dba
|
* @param Database $dba
|
||||||
* @param ICache $cache
|
* @param ICache $cache
|
||||||
* @param LoggerInterface $logger
|
* @param LoggerInterface $logger
|
||||||
|
|
|
@ -12,6 +12,7 @@ use Friendica\Core\Config;
|
||||||
use Friendica\Core\Protocol;
|
use Friendica\Core\Protocol;
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
use Friendica\Module\Register;
|
use Friendica\Module\Register;
|
||||||
|
use Friendica\Network\CurlResult;
|
||||||
use Friendica\Util\Network;
|
use Friendica\Util\Network;
|
||||||
use Friendica\Util\DateTimeFormat;
|
use Friendica\Util\DateTimeFormat;
|
||||||
use Friendica\Util\Strings;
|
use Friendica\Util\Strings;
|
||||||
|
@ -448,11 +449,12 @@ class GServer
|
||||||
/**
|
/**
|
||||||
* Detect server type by using the nodeinfo data
|
* Detect server type by using the nodeinfo data
|
||||||
*
|
*
|
||||||
* @param string $url address of the server
|
* @param string $url address of the server
|
||||||
|
* @param CurlResult $curlResult
|
||||||
* @return array Server data
|
* @return array Server data
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
*/
|
*/
|
||||||
private static function fetchNodeinfo(string $url, $curlResult)
|
private static function fetchNodeinfo(string $url, CurlResult $curlResult)
|
||||||
{
|
{
|
||||||
$nodeinfo = json_decode($curlResult->getBody(), true);
|
$nodeinfo = json_decode($curlResult->getBody(), true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user