8000 Default deleteFileAfterSend() to true · symfony/symfony@1de6f73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1de6f73

Browse files
authored
Default deleteFileAfterSend() to true
This should default to true when called since there is only one option.
1 parent d79c528 commit 1de6f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/BinaryFileResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public static function trustXSendfileTypeHeader()
350350
*
351351
* @return $this
352352
*/
353-
public function deleteFileAfterSend($shouldDelete)
353+
public function deleteFileAfterSend($shouldDelete = true)
354354
{
355355
$this->deleteFileAfterSend = $shouldDelete;
356356

0 commit comments

Comments
 (0)
0