Improve type info for RegistryTrait::getAll() and its users

This commit is contained in:
Dylan K. Taylor
2022-09-02 19:57:22 +01:00
parent 6dd5fec4ea
commit 88eafdd614
5 changed files with 9 additions and 1 deletions

View File

@ -585,6 +585,7 @@ final class VanillaBlocks{
/**
* @return Block[]
* @phpstan-return array<string, Block>
*/
public static function getAll() : array{
//phpstan doesn't support generic traits yet :(