src/SubjectAwareTrait.php
The method _setSubject is not named in camelCase. Invalid
Invalid
protected function _setSubject($subject)
{
$this->subject = $subject;
return $this;
- 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() {
}
}
Source
The method _getSubject is not named in camelCase. Invalid
Invalid
protected function _getSubject()
{
return $this->subject;
}
- 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() {
}
}