From fbacc8f0381ad01f4bc8696f791b5bb4eedb391d Mon Sep 17 00:00:00 2001 From: lee-to Date: Fri, 29 Nov 2024 12:40:56 +0000 Subject: [PATCH] [rector] Rector fixes --- src/AssetManager/src/AssetManager.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/AssetManager/src/AssetManager.php b/src/AssetManager/src/AssetManager.php index 4fb35d780..71b131212 100644 --- a/src/AssetManager/src/AssetManager.php +++ b/src/AssetManager/src/AssetManager.php @@ -121,10 +121,8 @@ public function getAssets(): AssetElementsContract ]; } - if($this->assetsModifiers !== []) { - foreach ($this->assetsModifiers as $assetsModifier) { - $assets = $assetsModifier($assets); - } + foreach ($this->assetsModifiers as $assetsModifier) { + $assets = $assetsModifier($assets); } return AssetElements::make($assets);