From eddfab712299161e020c213b4f3608ff6f0c3271 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 24 May 2022 19:36:48 +0200 Subject: [PATCH] A space in front of a message looks better --- src/Console/MoveToAvatarCache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Console/MoveToAvatarCache.php b/src/Console/MoveToAvatarCache.php index 2f607fe1b..dfb2e2ec2 100644 --- a/src/Console/MoveToAvatarCache.php +++ b/src/Console/MoveToAvatarCache.php @@ -95,20 +95,20 @@ HELP; echo '1'; $photo = Photo::selectFirst([], ['resource-id' => $resourceid], ['order' => ['scale']]); if (empty($photo)) { - echo $this->l10n->t('no photo with id %1', $resourceid) . "\n"; + echo ' ' . $this->l10n->t('no photo with id %1', $resourceid) . "\n"; continue; } echo '2'; $imgdata = Photo::getImageDataForPhoto($photo); if (empty($imgdata)) { - echo $this->l10n->t('no image data for photo with id %1', $resourceid) . "\n"; + echo ' ' . $this->l10n->t('no image data for photo with id %1', $resourceid) . "\n"; continue; } echo '3'; $image = new Image($imgdata, Images::getMimeTypeByData($imgdata)); if (!$image->isValid()) { - echo $this->l10n->t('invalid image for id %1', $resourceid) . "\n"; + echo ' ' . $this->l10n->t('invalid image for id %1', $resourceid) . "\n"; continue; }