Commit 829c8085 authored by Victor's avatar Victor

[Application] fix typo

parent eb15c4b4
...@@ -438,7 +438,7 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte ...@@ -438,7 +438,7 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
public function sendFile($file, $status = 200, $headers = array(), $contentDisposition = null) public function sendFile($file, $status = 200, $headers = array(), $contentDisposition = null)
{ {
if (!class_exists('Symfony\Component\HttpFoundation\BinaryFileResponse')) { if (!class_exists('Symfony\Component\HttpFoundation\BinaryFileResponse')) {
throw new \RuntimeException('The "senfFile" method is only supported as of Http Foundation 2.2.'); throw new \RuntimeException('The "sendFile" method is only supported as of Http Foundation 2.2.');
} }
return new BinaryFileResponse($file, $status, $headers, true, $contentDisposition); return new BinaryFileResponse($file, $status, $headers, true, $contentDisposition);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment