use ::class over string

This commit is contained in:
TomasVotruba
2017-11-30 10:27:01 +01:00
committed by Jaap van Otterdijk
parent f8d4fda4f3
commit 7d2174e8f6
@@ -241,7 +241,7 @@ class StandardTagFactoryTest extends TestCase
$this->expectException('InvalidArgumentException'); $this->expectException('InvalidArgumentException');
$resolver = m::mock(FqsenResolver::class); $resolver = m::mock(FqsenResolver::class);
$tagFactory = new StandardTagFactory($resolver); $tagFactory = new StandardTagFactory($resolver);
$tagFactory->registerTagHandler('Name\Spaced\Tag', Author::class); $tagFactory->registerTagHandler(\Name\Spaced\Tag::class, Author::class);
} }
/** /**