From 6f2dd9ebb87655acfb4bc4a039c6efabc3302a97 Mon Sep 17 00:00:00 2001 From: Jan Wennrich <jan.wennrich@pcsg.de> Date: Tue, 6 Aug 2024 16:30:14 +0200 Subject: [PATCH] style: fix PSR-12 code style violations --- src/QUI/Interview/Controls/IntervieweeData.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/QUI/Interview/Controls/IntervieweeData.php b/src/QUI/Interview/Controls/IntervieweeData.php index 2516905..4cd7d99 100644 --- a/src/QUI/Interview/Controls/IntervieweeData.php +++ b/src/QUI/Interview/Controls/IntervieweeData.php @@ -31,7 +31,7 @@ public function __construct($attributes = []) 'template' => 'largeImageTop' // template ]); - $this->addCSSFile(dirname(__FILE__).'/IntervieweeData.css'); + $this->addCSSFile(dirname(__FILE__) . '/IntervieweeData.css'); parent::__construct($attributes); @@ -48,8 +48,10 @@ public function getBody() $Engine = QUI::getTemplateManager()->getEngine(); $Site = $this->getSite(); - if ($Site->getAttribute("type") !== 'quiqqer/blog:blog/entry' && - $Site->getAttribute("type") !== 'quiqqer/news:news/entry') { + if ( + $Site->getAttribute("type") !== 'quiqqer/blog:blog/entry' && + $Site->getAttribute("type") !== 'quiqqer/news:news/entry' + ) { return ''; } @@ -82,9 +84,9 @@ public function getBody() 'description' => $intervieweeData['description'] ]); - $Engine->assign('controlTemplate', $Engine->fetch(dirname(__FILE__).$html)); + $Engine->assign('controlTemplate', $Engine->fetch(dirname(__FILE__) . $html)); - return $Engine->fetch(dirname(__FILE__).'/IntervieweeData.html'); + return $Engine->fetch(dirname(__FILE__) . '/IntervieweeData.html'); } /** -- GitLab