From 6dc5c53387996cdb99d8e850e5782c074a4e2baf Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 23 Sep 2025 11:40:56 +0200 Subject: [PATCH] fix(environment-variables): correct method call syntax in analyzeBuildVariable function - Updated the method call syntax in the analyzeBuildVariable function to use curly braces for dynamic method invocation, ensuring proper execution of the specified check function. --- app/Traits/EnvironmentVariableAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/EnvironmentVariableAnalyzer.php b/app/Traits/EnvironmentVariableAnalyzer.php index c264e60b3..0b452a940 100644 --- a/app/Traits/EnvironmentVariableAnalyzer.php +++ b/app/Traits/EnvironmentVariableAnalyzer.php @@ -109,7 +109,7 @@ trait EnvironmentVariableAnalyzer if (isset($config['check_function'])) { $method = $config['check_function']; if (method_exists(self::class, $method)) { - return self::$method($key, $value, $config); + return self::{$method}($key, $value, $config); } }