src/GetDepthCapableTrait.php
The method _getPathSegments is not named in camelCase. Open
Open
abstract protected function _getPathSegments();
- 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 _countIterable is not named in camelCase. Open
Open
abstract protected function _countIterable($iterable);
- 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 _getDepth is not named in camelCase. Open
Open
protected function _getDepth()
{
return $this->_countIterable($this->_getPathSegments()) - 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() {
}
}