Skip to content

Commit

Permalink
php84
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed Jun 11, 2024
1 parent 4e8d8d4 commit 1e4d5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ public function search($q, $page = 1) {
* @param int $lifetime Number of seconds before the file should expire from caches (null means $CFG->filelifetime)
* @param int $filter 0 (default)=no filtering, 1=all files, 2=html files only
* @param bool $forcedownload If true (default true), forces download of file rather than view in browser/plugin
* @param array $options additional options affecting the file serving
* @param array|null $options additional options affecting the file serving
*/
public function send_file($storedfile, $lifetime = null, $filter = 0, $forcedownload = true, array $options = null) {
public function send_file($storedfile, $lifetime = null, $filter = 0, $forcedownload = true, ?array $options = null) {
$duration = get_config('s3bucket', 'duration');
$this->send_otherfile($storedfile->get_reference(), "+$duration minutes");
}
Expand Down

0 comments on commit 1e4d5e5

Please sign in to comment.