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:
		| @@ -109,7 +109,7 @@ trait EnvironmentVariableAnalyzer | |||||||
|             if (isset($config['check_function'])) { |             if (isset($config['check_function'])) { | ||||||
|                 $method = $config['check_function']; |                 $method = $config['check_function']; | ||||||
|                 if (method_exists(self::class, $method)) { |                 if (method_exists(self::class, $method)) { | ||||||
|                     return self::$method($key, $value, $config); |                     return self::{$method}($key, $value, $config); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user