src/Locator/ResultSet.php
The method _validateItem is not named in camelCase. Open
Open
protected function _validateItem($item)
{
if (!($item instanceof Test\TestInterface)) {
throw new InvalidArgumentException(sprintf('Not a valid test'));
}
- 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() {
}
}