From 173426674fc5b104a9f8bc09673339f22380d29e Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 3 Jan 2013 09:05:32 +0100 Subject: [PATCH] [HttpFoundation] fixed fluent interface on BinaryFileResponse::prepare() (closes #6537) --- src/Symfony/Component/HttpFoundation/BinaryFileResponse.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php b/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php index e2f4ad6b39..a5c77f0ab7 100644 --- a/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php +++ b/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php @@ -210,6 +210,8 @@ class BinaryFileResponse extends Response $this->headers->set('Content-Range', sprintf('bytes %s-%s/%s', $start, $end, $this->file->getSize())); } } + + return $this; } /**