pixelfed/pixelfed

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

Summary

Maintainability
A
1 hr
Test Coverage

Method read has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function read(Request $request)
    {
        $this->validate($request, [
            'id' => 'required',
            'type' => 'required|in:post.cw,post.removed,post.unlist,post.autospam',
Severity: Minor
Found in app/Http/Controllers/AccountInterstitialController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status