From 47c7d8035e74a75fc585d435c0ff6a5054ba84be Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Tue, 23 Nov 2021 17:05:19 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- Classes/Controller/BasketController.php | 2 +- Classes/Controller/FeedsController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Controller/BasketController.php b/Classes/Controller/BasketController.php index 2967abf98..f5d298cba 100644 --- a/Classes/Controller/BasketController.php +++ b/Classes/Controller/BasketController.php @@ -335,7 +335,7 @@ protected function getDocumentData($id, $data) $title = $document->getTitle($id, true); if (empty($title)) { - $title = LocalizationUtility::translate('basket.noTitle', 'dlf') ?: ''; + $title = LocalizationUtility::translate('basket.noTitle', 'dlf') ? : ''; } // Set page and cutout information diff --git a/Classes/Controller/FeedsController.php b/Classes/Controller/FeedsController.php index 8ed8b5cde..1303a1c2b 100644 --- a/Classes/Controller/FeedsController.php +++ b/Classes/Controller/FeedsController.php @@ -91,7 +91,7 @@ public function mainAction() } // Set default title if empty. if (empty($title)) { - $title = LocalizationUtility::translate('noTitle', 'dlf') ?: ''; + $title = LocalizationUtility::translate('noTitle', 'dlf') ? : ''; } // Append volume information. if (!empty($document->getVolume())) {