Test Failed
Push — master ( e60cf2...290fb6 )
by Robert
18:25
created
src/Models/MessagingInfo.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,15 +20,18 @@
 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()
28 29
 	{
29
-        if (if (isset($this->attributes['endTime']))) {
30
+        if (if (isset($this->attributes['endTime'])) {
31
+        	) {
30 32
             if ($this->attributes['status'] == 'CLOSE') {
31 33
                 return new Carbon($this->attributes['endTime']);
34
+        }
32 35
             } else {
33 36
                 return null;
34 37
             }
Please login to merge, or discard this patch.