Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-08-27 17:28:06 +01:00
3 changed files with 15 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ final class DyeColorIdMap{
}
public function fromId(int $id) : ?DyeColor{
return $this->idToEnum[$id];
return $this->idToEnum[$id] ?? null;
}
public function fromInvertedId(int $id) : ?DyeColor{