Controller/Action/ConfigSearch.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\Config\Model\Config\Structure $configStructure
The property $_tabs is not named in camelCase. Open
Open
class ConfigSearch extends \ADM\QuickDevBar\Controller\Index
{
/**
* Tabs
- 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;
}
Source
The property $_configStructure is not named in camelCase. Open
Open
class ConfigSearch extends \ADM\QuickDevBar\Controller\Index
{
/**
* Tabs
- 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;
}