mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 16:45:13 +00:00
Deal with a whole lot of PHPStan suppressed key casting errors
closes #6534
This commit is contained in:
@ -37,9 +37,13 @@ final class TestCloningRegistry{
|
||||
|
||||
/**
|
||||
* @return \stdClass[]
|
||||
* @phpstan-return array<string, \stdClass>
|
||||
*/
|
||||
public static function getAll() : array{
|
||||
/** @var \stdClass[] $result */
|
||||
/**
|
||||
* @var \stdClass[] $result
|
||||
* @phpstan-var array<string, \stdClass> $result
|
||||
*/
|
||||
$result = self::_registryGetAll();
|
||||
return $result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user