mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
use ::class over string
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user