]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Api/Mastodon/Account.php
Correct format/style errors
[friendica.git] / src / Object / Api / Mastodon / Account.php
index afc739e1c620215f5f1b7ff2a0cc7a154dbb2936..5a66209777c37c3469da55f13ea60b8de3402512 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -95,7 +95,7 @@ class Account extends BaseDataTransferObject
                $this->id              = (string)$account['pid'];
                $this->username        = $account['nick'];
                $this->acct            =
-                       strpos($account['url'], $baseUrl->get() . '/') === 0 ?
+                       strpos($account['url'], $baseUrl . '/') === 0 ?
                                $account['nick'] :
                                $account['addr'];
                $this->display_name    = $account['name'];