Completed
Branch master (4d174b)
by Robert
07:19
created
src/Models/Visitor.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class Visitor extends Model
8 8
 {
9
-    protected $guarded = [];
9
+	protected $guarded = [];
10 10
 }
Please login to merge, or discard this patch.
src/Models/Campaign.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class Campaign extends Model
8 8
 {
9
-    protected $guarded = [];
9
+	protected $guarded = [];
10 10
 }
Please login to merge, or discard this patch.
src/Models/Conversation.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,25 +7,25 @@
 block discarded – undo
7 7
 
8 8
 class Conversation extends Model
9 9
 {
10
-    protected $guarded = [];
10
+	protected $guarded = [];
11 11
 
12
-    public function getMessageRecordsAttribute()
13
-    {
14
-        $messages = [];
15
-        foreach ($this->attributes['messageRecords'] as $line) {
16
-            $messages[] = new Message((array) $line);
17
-        }
12
+	public function getMessageRecordsAttribute()
13
+	{
14
+		$messages = [];
15
+		foreach ($this->attributes['messageRecords'] as $line) {
16
+			$messages[] = new Message((array) $line);
17
+		}
18 18
 
19
-        return collect($messages);
20
-    }
19
+		return collect($messages);
20
+	}
21 21
 
22
-    public function getAgentParticipantsAttribute()
23
-    {
24
-        $agents = [];
25
-        foreach ($this->attributes['agentParticipants'] as $agent) {
26
-            $agents[] = new MessagingAgent((array) $agent);
27
-        }
22
+	public function getAgentParticipantsAttribute()
23
+	{
24
+		$agents = [];
25
+		foreach ($this->attributes['agentParticipants'] as $agent) {
26
+			$agents[] = new MessagingAgent((array) $agent);
27
+		}
28 28
 
29
-        return new AgentParticipants($agents);
30
-    }
29
+		return new AgentParticipants($agents);
30
+	}
31 31
 }
Please login to merge, or discard this patch.
src/Exceptions/LiveEngageException.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,14 +6,14 @@
 block discarded – undo
6 6
 
7 7
 class LiveEngageException extends Exception
8 8
 {
9
-    public function __construct($message, $code = 0, Exception $previous = null)
10
-    {
11
-        parent::__construct($message, $code, $previous);
12
-    }
9
+	public function __construct($message, $code = 0, Exception $previous = null)
10
+	{
11
+		parent::__construct($message, $code, $previous);
12
+	}
13 13
 
14
-    // custom string representation of object
15
-    public function __toString()
16
-    {
17
-        return __CLASS__.": [{$this->code}]: {$this->message}\n";
18
-    }
14
+	// custom string representation of object
15
+	public function __toString()
16
+	{
17
+		return __CLASS__.": [{$this->code}]: {$this->message}\n";
18
+	}
19 19
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
     // custom string representation of object
15 15
     public function __toString()
16 16
     {
17
-        return __CLASS__.": [{$this->code}]: {$this->message}\n";
17
+        return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Models/Info.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -7,33 +7,33 @@
 block discarded – undo
7 7
 
8 8
 class Info extends Model
9 9
 {
10
-    protected $guarded = [];
11
-    protected $appends = [
12
-        'startTime',
13
-    ];
14
-
15
-    public function getStartTimeAttribute()
16
-    {
17
-        return new Carbon($this->attributes['startTime']);
18
-    }
19
-
20
-    public function getSessionIdAttribute()
21
-    {
22
-        return str_replace($this->accountId, '', $this->engagementId);
23
-    }
24
-
25
-    public function getMinutesAttribute()
26
-    {
27
-        return round($this->attributes['duration'] / 60, 2);
28
-    }
29
-
30
-    public function getSecondsAttribute()
31
-    {
32
-        return $this->attributes['duration'];
33
-    }
34
-
35
-    public function getHoursAttribute()
36
-    {
37
-        return round($this->minutes / 60, 2);
38
-    }
10
+	protected $guarded = [];
11
+	protected $appends = [
12
+		'startTime',
13
+	];
14
+
15
+	public function getStartTimeAttribute()
16
+	{
17
+		return new Carbon($this->attributes['startTime']);
18
+	}
19
+
20
+	public function getSessionIdAttribute()
21
+	{
22
+		return str_replace($this->accountId, '', $this->engagementId);
23
+	}
24
+
25
+	public function getMinutesAttribute()
26
+	{
27
+		return round($this->attributes['duration'] / 60, 2);
28
+	}
29
+
30
+	public function getSecondsAttribute()
31
+	{
32
+		return $this->attributes['duration'];
33
+	}
34
+
35
+	public function getHoursAttribute()
36
+	{
37
+		return round($this->minutes / 60, 2);
38
+	}
39 39
 }
Please login to merge, or discard this patch.