Skip to content

Commit 058e795

Browse files
paulinevosGromNaN
andauthored
Update src/Eloquent/SoftDeletes.php
Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
1 parent 5c14bb9 commit 058e795

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Eloquent/SoftDeletes.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
namespace MongoDB\Laravel\Eloquent;
66

7-
/** @deprecated 6.0.0 in favor of \Illuminate\Database\Eloquent\SoftDeletes */
7+
trigger_error(sprintf('Since mongodb/laravel-mongodb:5.5, trait "%s" is deprecated, use "%s" instead.', SoftDeletes::class, \Illuminate\Database\Eloquent\SoftDeletes::class), E_USER_DEPRECATED);
8+
9+
/** @deprecated since mongodb/laravel-mongodb:5.5, use \Illuminate\Database\Eloquent\SoftDeletes instead */
810
trait SoftDeletes
911
{
1012
use \Illuminate\Database\Eloquent\SoftDeletes;

0 commit comments

Comments
 (0)