Passed
Branch master (61755c)
by Robert
02:34
created
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 class ServiceProvider extends \Illuminate\Support\ServiceProvider
6 6
 {
7
-    const CONFIG_PATH = __DIR__.'/../config/live-engage-laravel.php';
7
+    const CONFIG_PATH = __DIR__ . '/../config/live-engage-laravel.php';
8 8
 
9 9
     public function boot()
10 10
     {
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             'live-engage-laravel'
21 21
         );
22 22
 
23
-        $this->app->bind('live-engage-laravel', function () {
23
+        $this->app->bind('live-engage-laravel', function() {
24 24
             return new LiveEngageLaravel();
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
src/Exceptions/LiveEngageException.php 1 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/Collections/EngagementHistory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     
20 20
     public function find($engagementID)
21 21
     {
22
-	    $result = $this->filter(function ($value, $key) use ($engagementID) {
22
+	    $result = $this->filter(function($value, $key) use ($engagementID) {
23 23
 		    return $value->info->sessionId == $engagementID;
24 24
 	    });
25 25
 	    
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     public function next()
30 30
     {
31
-        if (! $this->instance) {
31
+        if (!$this->instance) {
32 32
             return false;
33 33
         }
34 34
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     public function prev()
53 53
     {
54
-        if (! $this->instance) {
54
+        if (!$this->instance) {
55 55
             return false;
56 56
         }
57 57
 
Please login to merge, or discard this patch.
src/Collections/ConversationHistory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     
20 20
     public function find($engagementID)
21 21
     {
22
-	    $result = $this->filter(function ($value, $key) use ($engagementID) {
22
+	    $result = $this->filter(function($value, $key) use ($engagementID) {
23 23
 		    return $value->info->conversationId == $engagementID;
24 24
 	    });
25 25
 	    
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     public function next()
30 30
     {
31
-        if (! $this->instance) {
31
+        if (!$this->instance) {
32 32
             return false;
33 33
         }
34 34
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     public function prev()
53 53
     {
54
-        if (! $this->instance) {
54
+        if (!$this->instance) {
55 55
             return false;
56 56
         }
57 57
 
Please login to merge, or discard this patch.
src/LiveEngageLaravel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,8 +150,8 @@  discard block
 block discarded – undo
150 150
             'interactive' => $this->interactive,
151 151
             'ended' => $this->ended,
152 152
             'start' => [
153
-                'from' => strtotime($start_str).'000',
154
-                'to' => strtotime($end_str).'000',
153
+                'from' => strtotime($start_str) . '000',
154
+                'to' => strtotime($end_str) . '000',
155 155
             ],
156 156
         ];
157 157
         if (count($this->skills)) {
@@ -176,8 +176,8 @@  discard block
 block discarded – undo
176 176
             'interactive' => $this->interactive,
177 177
             'ended' => $this->ended,
178 178
             'start' => [
179
-                'from' => strtotime($start_str).'000',
180
-                'to' => strtotime($end_str).'000',
179
+                'from' => strtotime($start_str) . '000',
180
+                'to' => strtotime($end_str) . '000',
181 181
             ],
182 182
         ];
183 183
         if (count($this->skills)) {
Please login to merge, or discard this patch.
src/Collections/Humans.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     
20 20
     public function state($state = 'ONLINE')
21 21
     {
22
-	    $result = $this->filter(function ($value, $key) use ($state) {
22
+	    $result = $this->filter(function($value, $key) use ($state) {
23 23
 		    return strtolower($value->currentStatus) == strtolower($state);
24 24
 	    });
25 25
 	    
Please login to merge, or discard this patch.