Skip to content

Commit

Permalink
Fix php8 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
nexterday committed Dec 19, 2023
1 parent 71f3297 commit 012d430
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions report.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @package quiz_filedownloader
* @copyright 2019 ETH Zurich
* @author Martin Hanusch (martin.hanusch@let.ethz.ch)
* @author Hourani (hourani@id.ethz.ch)
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down Expand Up @@ -217,8 +217,8 @@ public function display($quiz, $cm, $course) {
$quiz,
$cm->id,
$userattempts,
$data,
$configfileareas);
$configfileareas,
$data);
}
}
}
Expand Down Expand Up @@ -260,7 +260,7 @@ public function display($quiz, $cm, $course) {
* @param array $configfileareas
* @return bool
*/
protected function filedownloader_process_files($course, $quiz, $cmid, $attempts, $data = null, $configfileareas) {
protected function filedownloader_process_files($course, $quiz, $cmid, $attempts, $configfileareas, $data = null) {

global $DB, $CFG;

Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
*
* @package quiz_filedownloader
* @copyright 2019 ETH Zurich
* @author Martin Hanusch (martin.hanusch@let.ethz.ch)
* @author Hourani (hourani@id.ethz.ch)
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023111300;
$plugin->version = 2023121900;
$plugin->requires = 2017111300;
$plugin->component = 'quiz_filedownloader';
$plugin->maturity = MATURITY_STABLE;
Expand Down

0 comments on commit 012d430

Please sign in to comment.