Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
HDVinnie
2020-01-06 15:38:43 +00:00
committed by StyleCI Bot
parent f707d4a80b
commit c8f2390c4d
41 changed files with 471 additions and 471 deletions
+5 -5
View File
@@ -43,11 +43,11 @@ class ChatMessageResource extends JsonResource
}
return [
'id' => $this->id,
'bot' => new BotResource($this->whenLoaded('bot')),
'user' => new UserResource($this->whenLoaded('user')),
'receiver' => new UserResource($this->whenLoaded('receiver')),
'chatroom' => new ChatRoomResource($this->whenLoaded('chatroom')),
'id' => $this->id,
'bot' => new BotResource($this->whenLoaded('bot')),
'user' => new UserResource($this->whenLoaded('user')),
'receiver' => new UserResource($this->whenLoaded('receiver')),
'chatroom' => new ChatRoomResource($this->whenLoaded('chatroom')),
'message' => htmlspecialchars_decode($logger),
'created_at' => $this->created_at->toIso8601String(),
'updated_at' => $this->updated_at->toIso8601String(),