diff --git a/flight/Engine.php b/flight/Engine.php index 7ff98d1..bb694cb 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -534,7 +534,7 @@ class Engine } // HEAD requests should be identical to GET requests but have no body - if($request->method === 'HEAD') { + if ($request->method === 'HEAD') { $response->clearBody(); } diff --git a/tests/RouterTest.php b/tests/RouterTest.php index 5c186bb..2314426 100644 --- a/tests/RouterTest.php +++ b/tests/RouterTest.php @@ -81,7 +81,7 @@ class RouterTest extends TestCase $dispatched = false; } - if($this->request->method === 'HEAD') { + if ($this->request->method === 'HEAD') { ob_clean(); }