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