/** * @param PhysicalSkillPoint $physicalSkillPoint * @throws \DrdPlus\Skills\Exceptions\UnexpectedRankValue * @throws \DrdPlus\Skills\Exceptions\CanNotVerifyOwningSkill * @throws \DrdPlus\Skills\Exceptions\CanNotVerifyPaidSkillPoint */ public function addSkillRank(PhysicalSkillPoint $physicalSkillPoint) { /** @noinspection ExceptionsAnnotatingAndHandlingInspection */ parent::addTypeVerifiedSkillRank(new PhysicalSkillRank($this, $physicalSkillPoint, new PositiveIntegerObject($this->getCurrentSkillRank()->getValue() + 1))); }