src/WordPress/AttachMethodHandlerCapableTrait.php
The method _addWpHook is not named in camelCase. Open
Open
abstract protected function _addWpHook($name, callable $handler, $priority = null, $numArgs = 1);
- 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 _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 _attachMethodHandler is not named in camelCase. Open
Open
protected function _attachMethodHandler($eventName, $methodName, $priority = null, $numArgs = 1)
{
$methodName = $this->_normalizeString($methodName);
$reflection = $this->_createReflectionMethod(get_class($this), $methodName);
$handler = $reflection->getClosure($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 _createReflectionMethod is not named in camelCase. Open
Open
abstract protected function _createReflectionMethod($className, $methodName);
- 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() {
}
}