xAPI-vle/moodle-logstore_xapi

View on GitHub
src/transformer/handler.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Method handler has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function handler(array $config, array $events) {
 
$eventfunctionmap = get_event_function_map();
$transformedevents = array_map(function ($event) use ($config, $eventfunctionmap) {
$eventobj = (object) $event;
Severity: Minor
Found in src/transformer/handler.php - About 1 hr to fix
Category
Status