Unverified Commit 044290f8 authored by Keven Lefebvre's avatar Keven Lefebvre Committed by GitHub

Change operator (-> to ::)

parent 14305686
...@@ -484,7 +484,7 @@ User::where('name', 'Jaques')->decrement('weight', 50); ...@@ -484,7 +484,7 @@ User::where('name', 'Jaques')->decrement('weight', 50);
The number of updated objects is returned: The number of updated objects is returned:
```php ```php
$count = User->increment('age'); $count = User::increment('age');
``` ```
You may also specify additional columns to update: You may also specify additional columns to update:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment