Fix method visibility

This commit is contained in:
Alexander M. Turek
2024-09-04 10:02:11 +02:00
parent b02a8b5eb5
commit 6172a42e9e
+1 -1
View File
@@ -53,7 +53,7 @@ abstract class NodeTestCase extends TestCase
return new Compiler($environment ?? $this->getEnvironment()); return new Compiler($environment ?? $this->getEnvironment());
} }
final private function getEnvironment() final protected function getEnvironment(): Environment
{ {
return $this->currentEnv ??= static::createEnvironment(); return $this->currentEnv ??= static::createEnvironment();
} }