Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudmohamedramadan committed Dec 6, 2024
1 parent 1454574 commit 4f0ae7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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
/**
Expand Down

0 comments on commit 4f0ae7c

Please sign in to comment.