From 7a576111c7b7f3f154fd141ea81c721a971a7f7a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 9 May 2021 11:56:34 +0000 Subject: [PATCH] Code styling --- src/Object/Api/Mastodon/Preferences.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/Object/Api/Mastodon/Preferences.php b/src/Object/Api/Mastodon/Preferences.php index 1b644beca..d633c1128 100644 --- a/src/Object/Api/Mastodon/Preferences.php +++ b/src/Object/Api/Mastodon/Preferences.php @@ -23,11 +23,6 @@ namespace Friendica\Object\Api\Mastodon; use Friendica\App\BaseURL; use Friendica\BaseDataTransferObject; -use Friendica\Collection\Api\Mastodon\Fields; -use Friendica\Content\Text\BBCode; -use Friendica\Database\DBA; -use Friendica\Model\Contact; -use Friendica\Util\DateTimeFormat; /** * Class Preferences @@ -59,9 +54,9 @@ class Preferences extends BaseDataTransferObject public function __construct(string $visibility, bool $sensitive, string $language, string $media, bool $spoilers) { $this->{'posting:default:visibility'} = $visibility; - $this->{'posting:default:sensitive'} = $sensitive; - $this->{'posting:default:language'} = $language; - $this->{'reading:expand:media'} = $media; - $this->{'reading:expand:spoilers'} = $spoilers; + $this->{'posting:default:sensitive'} = $sensitive; + $this->{'posting:default:language'} = $language; + $this->{'reading:expand:media'} = $media; + $this->{'reading:expand:spoilers'} = $spoilers; } }