route('tool'); if ($tool) { return $tool->user_id === $this->user()->id; } return false; } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ // ]; } }