pixelfed/pixelfed

View on GitHub
app/Http/Controllers/ParentalControlsController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method inviteRegisterStore has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function inviteRegisterStore(Request $request, $id, $code)
    {
        if($request->user()) {
            $title = 'You cannot complete this action on this device.';
            $body = 'Please log out or use a different device or browser to complete the invitation registration.';
Severity: Minor
Found in app/Http/Controllers/ParentalControlsController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status