herpaderpaldent/seat-groups

View on GitHub
src/Listeners/GroupSyncedNotification.php

Summary

Maintainability
A
25 mins
Test Coverage

Showing 1 of 1 total issue

Function handle has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

public function handle(GroupSynced $event)
{
$should_send = false;
 
if (! empty($event->sync['attached']))
Severity: Minor
Found in src/Listeners/GroupSyncedNotification.php - About 25 mins to fix

There are no issues that match your filters.

Category
Status