src/transformer/events/debug/debug_event.php
Showing 1 of 1 total issue
Method debug_event
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function debug_event(array $config, \stdClass $event) { //debug $repo = $config['repo']; if (isset($event->objecttable) && isset($event->objectid) && ($event->action !== 'deleted' || $event->crud !== 'd')) { $event_object = $repo->read_record_by_id($event->objecttable, $event->objectid);
- Create a ticketCreate a ticket