From: Michael Date: Mon, 27 Feb 2023 21:15:11 +0000 (+0000) Subject: Without "->__toString()" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5b774d2efa562742b6a16e0564b127ec29263db;p=friendica.git Without "->__toString()" --- diff --git a/src/Object/Api/Mastodon/Instance.php b/src/Object/Api/Mastodon/Instance.php index 08df62c0f0..118d491fc9 100644 --- a/src/Object/Api/Mastodon/Instance.php +++ b/src/Object/Api/Mastodon/Instance.php @@ -91,7 +91,7 @@ class Instance extends BaseDataTransferObject $this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')'; $this->urls = null; // Not supported $this->stats = new Stats($config, $database); - $this->thumbnail = $baseUrl->__toString() . '/images/friendica-banner.jpg'; + $this->thumbnail = $baseUrl . '/images/friendica-banner.jpg'; $this->languages = [$config->get('system', 'language')]; $this->max_toot_chars = (int)$config->get('config', 'api_import_size', $config->get('config', 'max_import_size')); $this->registrations = ($register_policy != Register::CLOSED);