mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
More phpstan checks for better code
This commit is contained in:
@@ -108,8 +108,9 @@ class DocBlockTest extends TestCase
|
||||
public function testDocBlockAllowsOnlyTags(): void
|
||||
{
|
||||
$this->expectException('InvalidArgumentException');
|
||||
$tags = [null];
|
||||
$fixture = new DocBlock('', null, $tags);
|
||||
$tags = [null];
|
||||
// @phpstan-ignore argument.type
|
||||
new DocBlock('', null, $tags);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user