diff --git a/Goutte/Client.php b/Goutte/Client.php index ecad34b..cde3ea3 100644 --- a/Goutte/Client.php +++ b/Goutte/Client.php @@ -91,7 +91,7 @@ protected function doRequest($request) } $body = null; - if (!in_array($request->getMethod(), array('GET','HEAD'))) { + if (!in_array($request->getMethod(), array('GET', 'HEAD'))) { if (null !== $request->getContent()) { $body = $request->getContent(); } else {