From c0c4c25562571a97777f0a57f542d253559b71f2 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 17 Nov 2024 20:38:44 +0700 Subject: [PATCH] fix print on CombineIfRector (part 2) --- .../Fixture/property_fetch_in_condition2.php.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules-tests/CodeQuality/Rector/If_/CombineIfRector/Fixture/property_fetch_in_condition2.php.inc b/rules-tests/CodeQuality/Rector/If_/CombineIfRector/Fixture/property_fetch_in_condition2.php.inc index f7b54d84f66..c244780a002 100644 --- a/rules-tests/CodeQuality/Rector/If_/CombineIfRector/Fixture/property_fetch_in_condition2.php.inc +++ b/rules-tests/CodeQuality/Rector/If_/CombineIfRector/Fixture/property_fetch_in_condition2.php.inc @@ -24,7 +24,7 @@ class PropertyFetchInCondition2 { public function run() { - if ($artzo_list !== [] && ($this->art->netzid > 0 && $artzo_list = $this->artzo_list)) { + if ($artzo_list !== [] && $this->art->netzid > 0 && $artzo_list = $this->artzo_list) { foreach ($artzo_list as $art) { } }