Issues (98)

application/controllers/CssController.php (1 issue)

Labels
Severity
1
<?php
2
3
use mQueue\Model\UserMapper;
4
5
class CssController extends Zend_Controller_Action
6
{
7 1
    public function init(): void
8
    {
9 1
        $this->_helper->layout->disableLayout();
0 ignored issues
show
The method disableLayout() does not exist on Zend_Controller_Action_Helper_Abstract. It seems like you code against a sub-type of Zend_Controller_Action_Helper_Abstract such as Zend_Controller_Action_Helper_Cache or Zend_Controller_Action_Helper_Redirector or Zend_Layout_Controller_Action_Helper_Layout. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

9
        $this->_helper->layout->/** @scrutinizer ignore-call */ 
10
                                disableLayout();
Loading history...
10 1
        $this->_helper->headers('text/css');
11 1
    }
12
13 1
    public function gravatarCssAction(): void
14
    {
15 1
        $this->view->users = UserMapper::fetchAll();
16 1
    }
17
}
18