writesdown/app-cms

View on GitHub
common/models/search/Media.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function search($params)
    {
        $query = MediaModel::find();
        $query->innerJoinWith([
            'mediaAuthor' => function ($query) {
Severity: Minor
Found in common/models/search/Media.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status