value - 1); } public function getNext() : ?self{ return self::tryFrom($this->value + 1); } }