From cb07ab075e46b8d5642cd84852b391c742bad87d Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 14 Sep 2022 12:43:45 +0200 Subject: [PATCH] Fix composer cs Signed-off-by: Carl Schwan --- lib/Controller/LocalController.php | 1 - lib/Listeners/ProfileSectionListener.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/LocalController.php b/lib/Controller/LocalController.php index eec19f0c..8bce345d 100644 --- a/lib/Controller/LocalController.php +++ b/lib/Controller/LocalController.php @@ -125,7 +125,6 @@ class LocalController extends Controller { * @NoAdminRequired */ public function postCreate(string $content = '', $to = null, string $type = null, ?string $replyTo = null, $attachments = null, ?string $hashtags = null): DataResponse { - $content = $content ?? ''; $to = is_string($to) ? [$to] : $to; $to = $to ?? []; diff --git a/lib/Listeners/ProfileSectionListener.php b/lib/Listeners/ProfileSectionListener.php index 41d0fdf6..fc12d592 100644 --- a/lib/Listeners/ProfileSectionListener.php +++ b/lib/Listeners/ProfileSectionListener.php @@ -1,4 +1,5 @@