More nullable and void typehints

This commit is contained in:
Dylan K. Taylor
2019-03-02 10:29:11 +00:00
parent 1f5c901f29
commit 6c8fa8ae28
108 changed files with 392 additions and 384 deletions

View File

@ -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;
}