Default deleteFileAfterSend() to true
This should default to true when called since there is only one option.
This commit is contained in:
parent
d79c528b40
commit
1de6f738ef
@ -350,7 +350,7 @@ class BinaryFileResponse extends Response
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function deleteFileAfterSend($shouldDelete)
|
||||
public function deleteFileAfterSend($shouldDelete = true)
|
||||
{
|
||||
$this->deleteFileAfterSend = $shouldDelete;
|
||||
|
||||
|
Reference in New Issue
Block a user