app/code/local/Mygento/Yandexdelivery/Block/Shipping.php
The class Mygento_Yandexdelivery_Block_Shipping is not named in CamelCase. Open
Open
class Mygento_Yandexdelivery_Block_Shipping extends Mage_Core_Block_Template
{
public function _construct()
{
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
The method _construct is not named in camelCase. Open
Open
public function _construct()
{
//защита от двойного вызова в одностраничном чекауте
if (Mage::registry('yd_block_called')) {
return '';
- 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() {
}
}