| Línea 671... | Línea 671... | 
          
            | 671 |      * @param int $lifetime Number of seconds before the file should expire from caches (null means $CFG->filelifetime)
 | 671 |      * @param int $lifetime Number of seconds before the file should expire from caches (null means $CFG->filelifetime)
 | 
          
            | 672 |      * @param int $filter 0 (default)=no filtering, 1=all files, 2=html files only
 | 672 |      * @param int $filter 0 (default)=no filtering, 1=all files, 2=html files only
 | 
          
            | 673 |      * @param bool $forcedownload If true (default false), forces download of file rather than view in browser/plugin
 | 673 |      * @param bool $forcedownload If true (default false), forces download of file rather than view in browser/plugin
 | 
          
            | 674 |      * @param array $options additional options affecting the file serving
 | 674 |      * @param array $options additional options affecting the file serving
 | 
          
            | 675 |      */
 | 675 |      */
 | 
          
            | 676 |     public function send_file($storedfile, $lifetime=null , $filter=0, $forcedownload=false, array $options = null) {
 | 676 |     public function send_file($storedfile, $lifetime=null , $filter=0, $forcedownload=false, ?array $options = null) {
 | 
          
            | 677 |         if (!$this->issuer->get('enabled')) {
 | 677 |         if (!$this->issuer->get('enabled')) {
 | 
          
            | 678 |             throw new repository_exception('cannotdownload', 'repository');
 | 678 |             throw new repository_exception('cannotdownload', 'repository');
 | 
          
            | 679 |         }
 | 679 |         }
 | 
          
            | Línea 680... | Línea 680... | 
          
            | 680 |  
 | 680 |  
 |