Starbugstone/SnowTricks

View on GitHub
src/Controller/Trick/TricksByTagController.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function showTricksByTag(Request $request, Tag $tag, string $slug)
    {
        if ($tag->getSlug() !== $slug) {
            return $this->correctSlug($tag);
        }
Severity: Minor
Found in src/Controller/Trick/TricksByTagController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status