Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(environment-variables): correct method call syntax in analyzeBuildVariable function

Andras Bacsai6dc5c5338799
diff --git a/app/Traits/EnvironmentVariableAnalyzer.php b/app/Traits/EnvironmentVariableAnalyzer.php
index c264e60b3d..0b452a940e 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);
}
}