/** * Update the specified variable in storage. * * @param int $variable_id * @param StoreVariableRequest $request * @return Response */ public function update($variable_id, StoreVariableRequest $request) { return $this->repository->updateById($request->only('name', 'value', 'project_id'), $variable_id); }