src/CreateNotFoundExceptionCapableTrait.php
Method _createNotFoundException
has 5 arguments (exceeds 4 allowed). Consider refactoring. Invalid
Invalid
$message = null,
$code = null,
RootException $previous = null,
BaseContainerInterface $container = null,
$dataKey = null
The method _createNotFoundException is not named in camelCase. Open
Open
protected function _createNotFoundException(
$message = null,
$code = null,
RootException $previous = null,
BaseContainerInterface $container = null,
- 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() {
}
}