From caafc0e340eb611596335c43207c0781e56f32f9 Mon Sep 17 00:00:00 2001 From: SebLaus <97241865+SebLaus@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:16:20 +0100 Subject: [PATCH] last fixes for remaining warning --- bridges/IdealoBridge.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bridges/IdealoBridge.php b/bridges/IdealoBridge.php index 85c7fb1a110..89c5f87df90 100644 --- a/bridges/IdealoBridge.php +++ b/bridges/IdealoBridge.php @@ -74,9 +74,8 @@ public function collectData() // Only continue if a price has changed if ($PriceNew != $OldPriceNew || $PriceUsed != $OldPriceUsed) { - // Get Product Image - $image = $html->find('.datasheet-cover-image',0)->src; + $image = $html->find('.datasheet-cover-image', 0)->src; // Generate Content if ($PriceNew > 1) { @@ -135,8 +134,10 @@ public function collectData() // General Priceupdate if ($this->getInput('MaxPriceUsed') == '' && $this->getInput('MaxPriceNew') == '') { // check if a relevant pricechange happened - if ((!$this->getInput('ExcludeNew') && $PriceNew != $OldPriceNew ) || - (!$this->getInput('ExcludeUsed') && $PriceUsed != $OldPriceUsed )) { + if ( + (!$this->getInput('ExcludeNew') && $PriceNew != $OldPriceNew ) || + (!$this->getInput('ExcludeUsed') && $PriceUsed != $OldPriceUsed ) + ) { $title .= 'Priceupdate! '; if (!$this->getInput('ExcludeNew')) {