core/modules/email/model/MailerlogModel.php
Method log
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function log($fromEmail, $fromName, $toEmail, $toName, $subject, $body, $status = 0)
The property $_autoloadParents is not named in camelCase. Open
Open
class MailerlogModel extends Ajde_Model
{
protected $_autoloadParents = true;
protected $_displayField = 'subject';
- 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 $_displayField is not named in camelCase. Open
Open
class MailerlogModel extends Ajde_Model
{
protected $_autoloadParents = true;
protected $_displayField = 'subject';
- 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;
}