core/modules/shop/model/TransactionModel.php
The property $_shippingModel is not named in camelCase. Open
Open
class TransactionModel extends Ajde_Shop_Transaction
{
protected $_shippingModel = 'ShippingModel';
protected $_itemModel = 'TransactionItemCollection';
}
- 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 $_itemModel is not named in camelCase. Open
Open
class TransactionModel extends Ajde_Shop_Transaction
{
protected $_shippingModel = 'ShippingModel';
protected $_itemModel = 'TransactionItemCollection';
}
- 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;
}