Passed
Push — master ( 3aff2b...13d978 )
by Michael
03:06
created
src/HttpClient/HttpClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $decoded = json_decode($content);
79 79
 
80 80
         if (json_last_error() !== JSON_ERROR_NONE) {
81
-            throw new \RuntimeException('Decoding error: "' . json_last_error_msg() . '""');
81
+            throw new \RuntimeException('Decoding error: "'.json_last_error_msg().'""');
82 82
         }
83 83
 
84 84
         return $this->hydrator->hydrate($decoded);
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $encoded = json_encode($document->toArray());
96 96
 
97 97
         if (json_last_error() !== JSON_ERROR_NONE) {
98
-            throw new \RuntimeException('Encoding error: "' . json_last_error_msg() . '""');
98
+            throw new \RuntimeException('Encoding error: "'.json_last_error_msg().'""');
99 99
         }
100 100
 
101 101
         $stream = fopen('php://memory', 'r+');
Please login to merge, or discard this patch.