Completed
Push — master ( a834a2...4b25ee )
by William Johnson S.
02:11
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 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
     private function getPunchesFromPage(IHttpResponse $punchesPageResponse)
325 325
     {
326 326
         if ($punchesPageResponse->getHttpStatus() !== IHttpClient::HTTP_STATUS_OK) {
327
-            throw new InvalidArgumentException('The request returned http status ' . $punchesPageResponse->getHttpStatus());
327
+            throw new InvalidArgumentException('The request returned http status '.$punchesPageResponse->getHttpStatus());
328 328
         }
329 329
 
330 330
         $punches = $this->parsePunchesPage($punchesPageResponse);
Please login to merge, or discard this patch.