AsgardCms/Blog

View on GitHub
Events/Handlers/RegisterBlogSidebar.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function extendWith(\Maatwebsite\Sidebar\Menu $menu)
    {
        $menu->group(trans('core::sidebar.content'), function (Group $group) {
            $group->item(trans('blog::blog.title'), function (Item $item) {
                $item->icon('fa fa-copy');
Severity: Minor
Found in Events/Handlers/RegisterBlogSidebar.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status