Fixed issues by php-cs

This commit is contained in:
Roland Häder 2022-10-25 23:07:49 +02:00
parent ceffd0ef6c
commit 039a4b8c72
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
2 changed files with 20 additions and 20 deletions

View file

@ -92,7 +92,7 @@ function wall_attach_post(App $a)
* Then Filesize gets <= 0. * Then Filesize gets <= 0.
*/ */
if ($fileSize <= 0) { if ($fileSize <= 0) {
$msg = DI::l10n()->t('Sorry, maybe your upload is bigger than the PHP configuration allows') . '<br />' .(DI::l10n()->t('Or - did you try to upload an empty file?')); $msg = DI::l10n()->t('Sorry, maybe your upload is bigger than the PHP configuration allows') . '<br />' . DI::l10n()->t('Or - did you try to upload an empty file?');
Logger::warning($msg, ['fileSize' => $fileSize]); Logger::warning($msg, ['fileSize' => $fileSize]);
@unlink($tempFileName); @unlink($tempFileName);
if ($isJson) { if ($isJson) {