core/model/modx/processors/resource/gettoolbar.class.php
Method process
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function process()
{
$items = array();
$context = '&context_key=' . $this->modx->getOption('default_context');
if ($this->modx->hasPermission('new_document')) {