add some phpstan array types

This commit is contained in:
Dylan K. Taylor
2020-01-30 22:06:21 +00:00
parent 4ff4434a22
commit 260ac47588
39 changed files with 177 additions and 27 deletions

View File

@ -166,6 +166,7 @@ class Banner extends Spawnable implements Nameable{
* Returns the data of a pattern with the given ID.
*
* @return mixed[]
* @phpstan-return array{Color?: int, Pattern?: string}
*/
public function getPatternData(int $patternId) : array{
if(!$this->patternExists($patternId)){