Passed
Branch master (61755c)
by Robert
02:34
created
src/LiveEngageLaravel.php 2 patches
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.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -338,7 +338,9 @@
 block discarded – undo
338 338
     
339 339
     private function requestV2($url, $method, $payload = false)
340 340
     {
341
-	    if (!$this->bearer) $this->login();
341
+	    if (!$this->bearer) {
342
+	    	$this->login();
343
+	    }
342 344
 	    
343 345
 	    $client = new Client();
344 346
 	    $args = [
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.