app/Board.php
The parameter $alert_to is not named in camelCase. Open
Open
public function setAlertToAttribute($alert_to)
{
$this->attributes['alert_to'] = trim($alert_to) ?: null;
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The variable $alert_to is not named in camelCase. Open
Open
public function setAlertToAttribute($alert_to)
{
$this->attributes['alert_to'] = trim($alert_to) ?: null;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}