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.
This commit is contained in:
Andras Bacsai
2025-09-23 11:40:56 +02:00
parent e3a03eb647
commit 6dc5c53387

View File

@@ -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);
}
}