diff --git a/tests/php/Dev/BacktraceTest.php b/tests/php/Dev/BacktraceTest.php index 2435ab5c8b4..682c12018ec 100644 --- a/tests/php/Dev/BacktraceTest.php +++ b/tests/php/Dev/BacktraceTest.php @@ -161,7 +161,7 @@ public static function matchesFilterableClassProvider(): array #[DataProvider('matchesFilterableClassProvider')] public function testMatchesFilterableClass(string $className, string $filterableClass, bool $expected, string $message): void { - $reflectionMethod = new ReflectionMethod(Backtrace::class . '::matchesFilterableClass'); + $reflectionMethod = new ReflectionMethod(Backtrace::class, 'matchesFilterableClass'); $reflectionMethod->setAccessible(true); $this->assertSame($expected, $reflectionMethod->invoke(null, $className, $filterableClass), $message); }