Controller/Index.php
The property $_qdbHelper is not named in camelCase. Open
Open
class Index extends \Magento\Framework\App\Action\Action
{
/**
* @var \ADM\QuickDevBar\Helper\Data
*/
- 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 $_layoutFactory is not named in camelCase. Open
Open
class Index extends \Magento\Framework\App\Action\Action
{
/**
* @var \ADM\QuickDevBar\Helper\Data
*/
- 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 $_resultRawFactory is not named in camelCase. Open
Open
class Index extends \Magento\Framework\App\Action\Action
{
/**
* @var \ADM\QuickDevBar\Helper\Data
*/
- 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 method _isAllowed is not named in camelCase. Open
Open
protected function _isAllowed()
{
return $this->_qdbHelper->isToolbarAccessAllowed();
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}