mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 19:24:12 +00:00
More nullable and void typehints
This commit is contained in:
@ -151,7 +151,7 @@ class ResourcePackManager{
|
||||
*
|
||||
* @return ResourcePack|null
|
||||
*/
|
||||
public function getPackById(string $id){
|
||||
public function getPackById(string $id) : ?ResourcePack{
|
||||
return $this->uuidList[strtolower($id)] ?? null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user