src/Events/FilterCapableTrait.php
The method _trigger is not named in camelCase. Open
Open
abstract protected function _trigger($event, $data = []);
- 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 _filter is not named in camelCase. Open
Open
protected function _filter($event, $key, $value)
{
return $this->_trigger($event, [$key => $value])->getParam($key);
}
- 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() {
}
}