modxcms/revolution

View on GitHub
core/model/modx/processors/resource/gettoolbar.class.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function process()
    {
        $items = array();
        $context = '&context_key=' . $this->modx->getOption('default_context');
        if ($this->modx->hasPermission('new_document')) {
Severity: Minor
Found in core/model/modx/processors/resource/gettoolbar.class.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status