From 7d2174e8f65f44a94a128e0985cca95971fc5abf Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Mon, 27 Nov 2017 00:47:01 +0100 Subject: [PATCH] use ::class over string --- tests/unit/DocBlock/StandardTagFactoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/DocBlock/StandardTagFactoryTest.php b/tests/unit/DocBlock/StandardTagFactoryTest.php index b3a3dc9..526ca71 100644 --- a/tests/unit/DocBlock/StandardTagFactoryTest.php +++ b/tests/unit/DocBlock/StandardTagFactoryTest.php @@ -241,7 +241,7 @@ class StandardTagFactoryTest extends TestCase $this->expectException('InvalidArgumentException'); $resolver = m::mock(FqsenResolver::class); $tagFactory = new StandardTagFactory($resolver); - $tagFactory->registerTagHandler('Name\Spaced\Tag', Author::class); + $tagFactory->registerTagHandler(\Name\Spaced\Tag::class, Author::class); } /**