Skip to content

Commit 3dc661b

Browse files
Fix $this calls to static ones when relevant
1 parent 887b4fc commit 3dc661b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnvVarProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function getEnv(string $prefix, string $name, \Closure $getEnv): mixed
230230
return null;
231231
}
232232

233-
if (!isset($this->getProvidedTypes()[$prefix])) {
233+
if (!isset(static::getProvidedTypes()[$prefix])) {
234234
throw new RuntimeException(\sprintf('Unsupported env var prefix "%s".', $prefix));
235235
}
236236

0 commit comments

Comments
 (0)