diff --git a/laravel/response.php b/laravel/response.php index b179afce..e8ff2070 100644 --- a/laravel/response.php +++ b/laravel/response.php @@ -205,7 +205,10 @@ public static function download($path, $name = null, $headers = array()) */ public static function prepare($response) { - if ( ! $response instanceof Response) $response = new static($response); + if ( ! $response instanceof Response) + { + $response = new static($response); + } // We'll need to force the response to be a string before closing the session, // since the developer may be using the session within a view, and we can't diff --git a/laravel/routing/controller.php b/laravel/routing/controller.php index 357c2e96..f8511b54 100644 --- a/laravel/routing/controller.php +++ b/laravel/routing/controller.php @@ -191,7 +191,7 @@ public function execute($method, $parameters = array()) // Again, as was the case with route closures, if the controller "before" // filters return a response, it will be considered the response to the - // request and the controller method will not be used . + // request and the controller method will not be used. $response = Filter::run($filters, array(), true); if (is_null($response))