laravel/framework

View on GitHub
src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function has($callback)
    {
        if (is_string($callback)) {
            $callback = fn () => $this->localRelationship->getRelated()->{$callback}();
        }
Severity: Minor
Found in src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status