Completed
Push — master ( 615209...0db88d )
by William Johnson S.
07:08
created
src/HttpResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         $json = json_decode($this->body);
58 58
         if (json_last_error() !== JSON_ERROR_NONE) {
59
-            throw new \InvalidArgumentException('Failed to decode json:' . json_last_error_msg());
59
+            throw new \InvalidArgumentException('Failed to decode json:'.json_last_error_msg());
60 60
         }
61 61
 
62 62
         return $json;
Please login to merge, or discard this patch.
src/HttpApi.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -387,6 +387,9 @@
 block discarded – undo
387 387
         return $punches;
388 388
     }
389 389
 
390
+    /**
391
+     * @param string $date
392
+     */
390 393
     private function createPunchesDate($date, array $punches = [])
391 394
     {
392 395
         $dates = [];
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@
 block discarded – undo
304 304
     private function getPunchsFromPage(IHttpResponse $punchsPageResponse)
305 305
     {
306 306
         if ($punchsPageResponse->getHttpStatus() !== IHttpClient::HTTP_STATUS_OK) {
307
-            throw new InvalidArgumentException('The request returned http status ' . $punchsPageResponse->getHttpStatus());
307
+            throw new InvalidArgumentException('The request returned http status '.$punchsPageResponse->getHttpStatus());
308 308
         }
309 309
 
310 310
         $punchs = $this->parsePunchsPage($punchsPageResponse);
Please login to merge, or discard this patch.