class UpdatedBookRequest extends FormRequent{ public function validated() { return array_merge(parent::validated(), [ 'user_id' => Auth::user()->id, ]); }}
class UpdatedBookRequest extends FormRequent{ public function validated() { return array_merge(parent::validated(), [ 'user_id' => Auth::user()->id, ]); }}