Default deleteFileAfterSend() to true

This should default to true when called since there is only one option.
This commit is contained in:
Ben Miller 2018-03-08 16:27:46 -08:00 committed by GitHub
parent d79c528b40
commit 1de6f738ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ class BinaryFileResponse extends Response
* *
* @return $this * @return $this
*/ */
public function deleteFileAfterSend($shouldDelete) public function deleteFileAfterSend($shouldDelete = true)
{ {
$this->deleteFileAfterSend = $shouldDelete; $this->deleteFileAfterSend = $shouldDelete;