From 4f0ae7c4ac7d7955adf9dffe56153a7674e76c4b Mon Sep 17 00:00:00 2001 From: mahmoudmohamedramadan Date: Fri, 6 Dec 2024 20:34:23 +0200 Subject: [PATCH] wip --- UPDATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UPDATE.md b/UPDATE.md index 33a3523..cbd2ff0 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -108,9 +108,9 @@ Alternatively, if you prefer not to define the model at the class level, you can ```PHP /** - * Store a newly created resource in storage. + * Update the specified resource in storage. */ -public function store() +public function update() { return $this ->setUpdatableModel(Post::find(4)) @@ -121,7 +121,7 @@ public function store() ## Establish Query -As an added bonus, you can effortlessly set a eloquent or query builder to begin building by using the `setUpdatableQuery` method: +Additionally, you can easily configure either an Eloquent or query builder to start building by using the `setUpdatableQuery` method: ```PHP /**