core/modules/shop/model/CartModel.php
The property $_cartItemModel is not named in camelCase. Open
Open
class CartModel extends Ajde_Shop_Cart
{
protected $_cartItemModel = 'CartItemModel';
protected $_cartItemCollection = 'CartItemCollection';
}
- 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 $_cartItemCollection is not named in camelCase. Open
Open
class CartModel extends Ajde_Shop_Cart
{
protected $_cartItemModel = 'CartItemModel';
protected $_cartItemCollection = 'CartItemCollection';
}
- 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;
}