NOW MANAGED ON CODEBERG
Updated method of string interpolation
Dan Browndbefda055f53
diff --git a/app/Entities/Tools/SearchRunner.php b/app/Entities/Tools/SearchRunner.phpindex a0a44f3a5..a591914f3 100644--- a/app/Entities/Tools/SearchRunner.php+++ b/app/Entities/Tools/SearchRunner.php@@ -360,7 +360,7 @@ class SearchRunner/** @var Connection $connection */$connection = $query->getConnection();$tagValue = (float) trim($connection->getPdo()->quote($tagValue), "'");- $query->whereRaw("value ${tagOperator} ${tagValue}");+ $query->whereRaw("value {$tagOperator} {$tagValue}");} else {$query->where('value', $tagOperator, $tagValue);}diff --git a/app/Http/Controllers/SettingController.php b/app/Http/Controllers/SettingController.phpindex 9e9e6c690..f5e48ca4c 100644--- a/app/Http/Controllers/SettingController.php+++ b/app/Http/Controllers/SettingController.php@@ -83,7 +83,7 @@ class SettingController extends Controller$this->logActivity(ActivityType::SETTINGS_UPDATE, $category);$this->showSuccessNotification(trans('settings.settings_save_success'));- return redirect("/settings/${category}");+ return redirect("/settings/{$category}");}protected function ensureCategoryExists(string $category): void