We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48908e commit 04e448cCopy full SHA for 04e448c
src/EventListeners/SoftDeletableListener.php
@@ -35,6 +35,6 @@ private function isSoftDeletable($entity)
35
$traitsUsed = array_merge($traitsUsed, class_uses($parent));
36
}
37
38
- return array_key_exists('Mitch\LaravelDoctrine\Traits\SoftDeletes', class_uses($entity));
+ return array_key_exists('Mitch\LaravelDoctrine\Traits\SoftDeletes', $traitsUsed);
39
40
src/Filters/TrashedFilter.php
@@ -17,6 +17,6 @@ private function isSoftDeletable($entity)
17
18
19
20
21
22
0 commit comments