diff --git a/tests/phpunit/src/Misc/TelemetryHelperTest.php b/tests/phpunit/src/Misc/TelemetryHelperTest.php index ff9d8b037..b1fbc8b2e 100644 --- a/tests/phpunit/src/Misc/TelemetryHelperTest.php +++ b/tests/phpunit/src/Misc/TelemetryHelperTest.php @@ -15,7 +15,7 @@ public function tearDown(): void { parent::tearDown(); $envVars = []; - foreach ($this->providerTestEnvironmentProvider() as $args) { + foreach (self::providerTestEnvironmentProvider() as $args) { $envVars = array_merge($envVars, $args[1]); }