method() === 'PATCH') { /** @var Mount $mount */ $mount = $this->route()->parameter('mount'); return Mount::getRulesForUpdate($mount->id); } return Mount::getRules(); } }