Skip to content

Commit ed3e002

Browse files
authored
Apply fixes from StyleCI (#291)
1 parent 14fcfa6 commit ed3e002

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: src/Models/Conversation.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function addParticipants(array $participants): self
123123
/**
124124
* Remove participant from conversation.
125125
*
126-
* @param $participants
126+
* @param $participants
127127
*
128128
* @return Conversation
129129
*/
@@ -269,7 +269,7 @@ public function unReadNotifications(Model $participant): Collection
269269
/**
270270
* Gets the notifications for the participant.
271271
*
272-
* @param $participant
272+
* @param $participant
273273
* @param bool $readAll
274274
*
275275
* @return MessageNotification

Diff for: src/Models/Message.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Message extends BaseModel
1818
'body',
1919
'participation_id',
2020
'type',
21-
'data'
21+
'data',
2222
];
2323

2424
protected $table = ConfigurationManager::MESSAGES_TABLE;
@@ -36,7 +36,7 @@ class Message extends BaseModel
3636
*/
3737
protected $casts = [
3838
'flagged' => 'boolean',
39-
'data' => 'array'
39+
'data' => 'array',
4040
];
4141

4242
protected $appends = ['sender'];
@@ -92,7 +92,7 @@ public function send(Conversation $conversation, string $body, Participation $pa
9292
'body' => $body,
9393
'participation_id' => $participant->getKey(),
9494
'type' => $type,
95-
'data' => $data
95+
'data' => $data,
9696
]);
9797

9898
if (Chat::broadcasts()) {

0 commit comments

Comments
 (0)