Skip to content

Commit

Permalink
Fix minor syntax issues
Browse files Browse the repository at this point in the history
  • Loading branch information
catalystfd committed Nov 13, 2024
1 parent 912e758 commit 2f41e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/check/failingtaskcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

namespace tool_heartbeat\check;

use core\check\check;
use core\check\result;

Expand All @@ -39,7 +40,6 @@ class failingtaskcheck extends check {
/** @var \stdClass $task Record of task that is failing **/
private $task;


/**
* Constructor
*/
Expand Down Expand Up @@ -123,7 +123,7 @@ public function get_ref(): string {
* @return array of failing tasks
*/
public static function get_failing_tasks(): array {
global $DB,
global $DB;
$tasks = [];

// Instead of using task API here, we read directly from the database.
Expand Down

0 comments on commit 2f41e85

Please sign in to comment.