mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
add some phpstan array types
This commit is contained in:
@ -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)){
|
||||
|
Reference in New Issue
Block a user