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:
parent
e3a03eb647
commit
6dc5c53387
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ public static function analyzeBuildVariable(string $key, string $value): ?array
|
|||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue