Completed
Push — master ( fa69aa...fde90d )
by Sam
05:03
created
src/YamlResponseParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             ));
52 52
         }
53 53
 
54
-        $lines = array_filter(explode("\n", $responseData), function ($line) {
54
+        $lines = array_filter(explode("\n", $responseData), function($line) {
55 55
             return !empty($line) && $line !== '---';
56 56
         });
57 57
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $data = [];
64 64
         foreach ($lines as $line) {
65 65
             if (strncmp($line, '- ', 2) !== 0) {
66
-                throw new ClientException("YAML parse error for line: $line" . print_r($lines, true));
66
+                throw new ClientException("YAML parse error for line: $line".print_r($lines, true));
67 67
             }
68 68
             $data[] = substr($line, 2);
69 69
         }
Please login to merge, or discard this patch.