src/WordPress/RunWpHookCapableTrait.php
The method _normalizeString is not named in camelCase. Open
Open
abstract protected function _normalizeString($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() {
}
}
Source
The method _runWpHook is not named in camelCase. Open
Open
protected function _runWpHook($name, array $args = [])
{
$name = $this->_normalizeString($name);
// Add the event name to the args array
- 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() {
}
}