From 1de202454d218e323e08c765cd029b82a2645cb8 Mon Sep 17 00:00:00 2001 From: Marcus Green Date: Sun, 7 Apr 2024 22:00:54 +0100 Subject: [PATCH] wrapped lines that were too long for linting purposes --- classes/guide.php | 3 ++- classes/rubref.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/classes/guide.php b/classes/guide.php index 1e843e3..2d3b764 100644 --- a/classes/guide.php +++ b/classes/guide.php @@ -105,7 +105,8 @@ public function get_data(\assign $assign, \cm_info $cm) :array { WHERE cm.id = :assignid AND gin.status = :instancestatus AND stu.deleted = 0 ORDER BY lastname ASC, firstname ASC, userid ASC, criteria.sortorder ASC"; - $data = $DB->get_records_sql($sql, ['assignid' => $cm->id, 'instancestatus' => \gradingform_instance::INSTANCE_STATUS_ACTIVE]); + $data = $DB->get_records_sql($sql, ['assignid' => $cm->id, + 'instancestatus' => \gradingform_instance::INSTANCE_STATUS_ACTIVE]); $data = set_blindmarking($data, $assign, $cm); return $data; } diff --git a/classes/rubref.php b/classes/rubref.php index 449635a..e920235 100644 --- a/classes/rubref.php +++ b/classes/rubref.php @@ -102,7 +102,8 @@ public function get_data(\assign $assign, \cm_info $cm) : array { AND stu.deleted = 0 ORDER BY lastname ASC, firstname ASC, userid ASC, criteria.sortorder ASC"; - $data = $DB->get_records_sql($sql, ['assignid' => $cm->id, 'instancestatus' => \gradingform_instance::INSTANCE_STATUS_ACTIVE]); + $data = $DB->get_records_sql($sql, ['assignid' => $cm->id, + 'instancestatus' => \gradingform_instance::INSTANCE_STATUS_ACTIVE]); $data = set_blindmarking($data, $assign, $cm); return $data; }