GrafiteInc/Scaffold

View on GitHub
app/Services/InviteService.php

Summary

Maintainability
A
1 hr
Test Coverage

Method create has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function create($model, $email, $message)
    {
        $user = User::where('email', $email)->first();
        $token = Str::uuid();
        $from = auth()->user();
Severity: Minor
Found in app/Services/InviteService.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status