Fix composer cs

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/1469/head
Carl Schwan 2022-09-14 12:43:45 +02:00
rodzic 1786f1f446
commit cb07ab075e
2 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 ?? [];

Wyświetl plik

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
// SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>