According to coding standard protected function should not be used, so i have changed from protected to public then,
I am getting this warning from coding standard,
Warning: The use of public non-interface method in ACTION is discouraged.
The code is,
protected function _isAllowed()
{
return $this->_authorization->isAllowed('frontname_namespace::orders');
}
I changed to
public function _isAllowed()
{
return $this->_authorization->isAllowed('frontname_namespace::orders');
}
Anyone have any idea about this ..