AsgardCms/Media

View on GitHub
Http/Controllers/Api/MediaController.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function linkMedia(Request $request)
    {
        $mediaId = $request->get('mediaId');
        $entityClass = $request->get('entityClass');
        $entityId = $request->get('entityId');
Severity: Minor
Found in Http/Controllers/Api/MediaController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status