rtckit/php-sip

View on GitHub
src/Header/NameAddrHeader.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method parse has 108 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

    public static function parse(array $hbody): NameAddrHeader
    {
        $ret = new static;

        if (isset($hbody[1])) {
Severity: Major
Found in src/Header/NameAddrHeader.php - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status