Controller/Action/CacheCss.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Framework\App\Action\Context $context,
\ADM\QuickDevBar\Helper\Data $qdbHelper,
\Magento\Framework\Controller\Result\RawFactory $resultRawFactory,
\Magento\Framework\View\LayoutFactory $layoutFactory,
\Magento\Framework\View\Asset\MergeService $mergeService
The property $_mergeService is not named in camelCase. Open
Open
class CacheCss extends \ADM\QuickDevBar\Controller\Index
{
protected $_mergeService;
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}