Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
isSofDeletable
same as above
  • Loading branch information
bangipul committed Oct 20, 2014
commit 794c21c3337dfee19ced01140ee598b5b84a7e4b
2 changes: 1 addition & 1 deletion src/EventListeners/SoftDeletableListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public function onFlush(OnFlushEventArgs $event)

private function isSoftDeletable($entity)
{
return array_key_exists('Mitch\LaravelDoctrine\Traits\SoftDeletes', class_uses_recursive($entity));
return array_key_exists('Mitch\LaravelDoctrine\Traits\SoftDeletes', class_uses($entity));
}
}