tests/phpunit: populate iterable types for phpstan

This commit is contained in:
Dylan K. Taylor
2020-02-06 13:11:56 +00:00
parent 54ccc330d5
commit 532dc0fb6f
6 changed files with 22 additions and 4 deletions

View File

@ -38,6 +38,10 @@ class UtilsTest extends TestCase{
}
}
/**
* @return string[][]
* @phpstan-return list<array{string}>
*/
public function parseDocCommentNewlineProvider() : array{
return [
["\t/**\r\n\t * @param PlayerJoinEvent \$event\r\n\t * @priority HIGHEST\r\n\t * @notHandler\r\n\t */"],