Skip to content

Commit d23ba5f

Browse files
fre5hnicolas-grekas
authored andcommitted
Use ::class constants instead of __NAMESPACE__ when possible
1 parent 3396b64 commit d23ba5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Caster/ReflectionCasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class: "Symfony\Component\VarDumper\Tests\Caster\ReflectionCasterTest"
129129

130130
public function testReflectionParameter()
131131
{
132-
$var = new \ReflectionParameter(__NAMESPACE__.'\reflectionParameterFixture', 0);
132+
$var = new \ReflectionParameter(reflectionParameterFixture::class, 0);
133133

134134
$this->assertDumpMatchesFormat(
135135
<<<'EOTXT'

0 commit comments

Comments
 (0)