yiicod/yii2-socketio

View on GitHub
Broadcast.php

Summary

Maintainability
A
1 hr
Test Coverage

Method emit has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function emit(string $event, array $data)
    {
        $eventClassName = self::getManager()->getList()[$event] ?? null;
        try {
            if (null === $eventClassName) {
Severity: Minor
Found in Broadcast.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status