Update HTTPRequest.php

This commit is contained in:
LABCAT 2019-10-23 22:52:53 +13:00 committed by GitHub
parent 630c6c0514
commit 501d9a1480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ class HTTPRequest implements ArrayAccess
* Construct an HTTPResponse that will deliver a file to the client.
* 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, e.g.:
* This function needs to be called inside the controllers response, e.g.:
* <code>$this->setResponse(HTTPRequest::send_file('the content', 'filename.txt'));</code>
*
* @static