Skip to content

Commit 7d2174e

Browse files
TomasVotrubajaapio
authored andcommitted
use ::class over string
1 parent f8d4fda commit 7d2174e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/DocBlock/StandardTagFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function testHandlerRegistrationFailsIfProvidedTagNameIsNamespaceButNotFu
241241
$this->expectException('InvalidArgumentException');
242242
$resolver = m::mock(FqsenResolver::class);
243243
$tagFactory = new StandardTagFactory($resolver);
244-
$tagFactory->registerTagHandler('Name\Spaced\Tag', Author::class);
244+
$tagFactory->registerTagHandler(\Name\Spaced\Tag::class, Author::class);
245245
}
246246

247247
/**

0 commit comments

Comments
 (0)