xAPI-vle/moodle-logstore_xapi

View on GitHub
src/transformer/events/mod_glossary/comment_created.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Method comment_created has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function comment_created(array $config, \stdClass $event) {
 
$repo = $config['repo'];
$user = $repo->read_record_by_id('user', $event->userid);
$course = $repo->read_record_by_id('course', $event->courseid);
Severity: Minor
Found in src/transformer/events/mod_glossary/comment_created.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status