Skip to content

Commit 3fb67d1

Browse files
author
Shaz Amjad
committed
Readme update for SoftDeletes trait
Just a minor change for those using master; SoftDeletingTrait is now SoftDeletes so updating the read me to reflect that.
1 parent 265ef41 commit 3fb67d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,11 @@ User::where('bmi', 30)->decrement('bmi', 1, array('category' => 'overweight'));
381381
When soft deleting a model, it is not actually removed from your database. Instead, a deleted_at timestamp is set on the record. To enable soft deletes for a model, apply the SoftDeletingTrait to the model:
382382

383383
```php
384-
use Jenssegers\Mongodb\Eloquent\SoftDeletingTrait;
384+
use Jenssegers\Mongodb\Eloquent\SoftDeletes;
385385

386386
class User extends Eloquent {
387387

388-
use SoftDeletingTrait;
388+
use SoftDeletes;
389389

390390
protected $dates = ['deleted_at'];
391391

0 commit comments

Comments
 (0)