Test Failed
Push — master ( 290fb6...edd5ce )
by Robert
21:44 queued 16:32
created
src/LiveEngageLaravel.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -280,10 +280,10 @@
 block discarded – undo
280 280
 	/**
281 281
 	 * chat function
282 282
 	 *
283
-     * @codeCoverageIgnore
284
-     *
285
-     * @todo connect this to the server chat api - this function currently does nothing.
286
-     */
283
+	 * @codeCoverageIgnore
284
+	 *
285
+	 * @todo connect this to the server chat api - this function currently does nothing.
286
+	 */
287 287
 	public function chat()
288 288
 	{
289 289
 		$this->domain('conversationVep');
Please login to merge, or discard this patch.
src/Models/Conversation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,6 +50,6 @@
 block discarded – undo
50 50
 	{
51 51
 		$info = $this->info->attributes;
52 52
 		$info['transcript'] = $this->textTranscript;
53
-		return ((object)$info);
53
+		return ((object) $info);
54 54
 	}
55 55
 }
Please login to merge, or discard this patch.
src/LiveEngageRequest.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,9 @@  discard block
 block discarded – undo
136 136
 			'body' => json_encode($payload ?: [])
137 137
 		];
138 138
 		
139
-		if ($noauth) unset($args['auth']);
139
+		if ($noauth) {
140
+			unset($args['auth']);
141
+		}
140 142
 		
141 143
 		// @codeCoverageIgnoreStart
142 144
 		try {
@@ -171,7 +173,9 @@  discard block
 block discarded – undo
171 173
 	 */
172 174
 	public function V2($url, $method, $payload = null, $headers = null)
173 175
 	{
174
-		if (!$this->bearer) $this->login();
176
+		if (!$this->bearer) {
177
+			$this->login();
178
+		}
175 179
 		
176 180
 		$client = new Client();
177 181
 		$args = [
Please login to merge, or discard this patch.
src/Models/MessagingInfo.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -20,19 +20,19 @@
 block discarded – undo
20 20
 
21 21
 	public function getStartTimeAttribute()
22 22
 	{
23
-        if (isset($this->attributes['startTime']))
24
-		    return new Carbon($this->attributes['startTime']);
23
+		if (isset($this->attributes['startTime']))
24
+			return new Carbon($this->attributes['startTime']);
25 25
 	}
26 26
 	
27 27
 	public function getEndTimeAttribute()
28 28
 	{
29
-        if (isset($this->attributes['endTime'])) {
30
-            if ($this->attributes['status'] == 'CLOSE') {
31
-                return new Carbon($this->attributes['endTime']);
32
-            } else {
33
-                return null;
34
-            }
35
-        }
29
+		if (isset($this->attributes['endTime'])) {
30
+			if ($this->attributes['status'] == 'CLOSE') {
31
+				return new Carbon($this->attributes['endTime']);
32
+			} else {
33
+				return null;
34
+			}
35
+		}
36 36
 	}
37 37
 
38 38
 	public function getMinutesAttribute()
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,9 @@
 block discarded – undo
20 20
 
21 21
 	public function getStartTimeAttribute()
22 22
 	{
23
-        if (isset($this->attributes['startTime']))
24
-		    return new Carbon($this->attributes['startTime']);
23
+        if (isset($this->attributes['startTime'])) {
24
+        		    return new Carbon($this->attributes['startTime']);
25
+        }
25 26
 	}
26 27
 	
27 28
 	public function getEndTimeAttribute()
Please login to merge, or discard this patch.