pixelfed/pixelfed

View on GitHub
app/Services/RelationshipService.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public static function get($aid, $tid)
    {
        $actor = AccountService::get($aid, true);
        $target = AccountService::get($tid, true);
        if(!$actor || !$target) {
Severity: Minor
Found in app/Services/RelationshipService.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status