Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrims0n authored Mar 1, 2023
1 parent f94ecf1 commit ed30889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Models/Contact/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ class Contact extends Model
*/
protected static function booted()
{
static::deleted(function ($contact) {
static::deleted(function ($contact)
{
if ($contact->isMe() === true) {
app(DeleteMeContact::class)->execute([
'account_id' => $contact->id,
Expand Down

0 comments on commit ed30889

Please sign in to comment.