Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pajkho authored Aug 22, 2021
1 parent 6274b0b commit 2c05bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Models/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public function participation()
public function getSenderAttribute()
{
$participantModel = $this->participation->messageable;

if (!isset($participantModel)) {
return null;
return null;
}

if (method_exists($participantModel, 'getParticipantDetails')) {
Expand Down

0 comments on commit 2c05bdd

Please sign in to comment.