Passed
Push — master ( 18a4f7...ef4891 )
by Stefan
01:29
created
SKien/Google/GClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
             }
525 525
         } else {
526 526
             $strError = substr($strResponse, $iHeaderSize);
527
-            if (strlen($strError) > 0)  {
527
+            if (strlen($strError) > 0) {
528 528
                 $aError = json_decode($strError, true);
529 529
                 if (isset($aError['error'])) {
530 530
                     $this->strLastError = $aError['error']['message'] ?? '';
@@ -561,11 +561,11 @@  discard block
 block discarded – undo
561 561
     {
562 562
         $aHeader = [];
563 563
         $strHeader = trim($strHeader);
564
-        $aLine = explode("\n",$strHeader);
564
+        $aLine = explode("\n", $strHeader);
565 565
         $aHeader['status'] = $aLine[0];
566 566
         array_shift($aLine);
567 567
 
568
-        foreach($aLine as $strLine){
568
+        foreach ($aLine as $strLine) {
569 569
             // only consider the first colon, since other colons can also appear in
570 570
             // the header value - the rest of such a value would be lost
571 571
             // (eg "Location: https: // www ...." - "// www ...." would be gone !)
Please login to merge, or discard this patch.