always-open/laravel-process-stamps

View on GitHub

Showing 1 of 1 total issue

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

    public static function firstOrCreateByProcess(array $process, ?string $hash = null) : self
    {
        if (empty($process['type'])) {
            $process['type'] = 'other';
        }
Severity: Minor
Found in src/ProcessStamp.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language