From d3a17958ef084b60fe75c10a7a027f1643cb8317 Mon Sep 17 00:00:00 2001 From: LABCAT Date: Tue, 22 Oct 2019 16:17:04 +1300 Subject: [PATCH] Update src/Control/HTTPRequest.php Co-Authored-By: Robbie Averill --- src/Control/HTTPRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Control/HTTPRequest.php b/src/Control/HTTPRequest.php index 74ec00b16..898c46f84 100644 --- a/src/Control/HTTPRequest.php +++ b/src/Control/HTTPRequest.php @@ -469,7 +469,7 @@ class HTTPRequest implements ArrayAccess * Caution: Since it requires $fileData to be passed as binary data (no stream support), * it's only advisable to send small files through this method. * this function needs to called inside the controllers response, eg - * $this->setResponse(HTTPRequest::send_file('the content', 'filename.txt')); + * $this->setResponse(HTTPRequest::send_file('the content', 'filename.txt')); * * @static * @param $fileData