pixelfed/pixelfed

View on GitHub
app/Services/PollService.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public static function get($id, $profileId = false)
    {
        $key = self::CACHE_KEY . $id;

        $res = Cache::remember($key, 1800, function() use($id) {
Severity: Minor
Found in app/Services/PollService.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status