src/CreateNotFoundExceptionCapableTrait.php
<?php namespace Dhii\Data\Container; use Psr\Container\ContainerInterface as BaseContainerInterface;use Dhii\Util\String\StringableInterface as Stringable;use Dhii\Data\Container\Exception\NotFoundException;use Exception as RootException; trait CreateNotFoundExceptionCapableTrait{ /** * Creates a new not found exception. * * @param string|Stringable|null $message The exception message, if any. * @param int|string|Stringable|null $code The numeric exception code, if any. * @param RootException|null $previous The inner exception, if any. * @param BaseContainerInterface|null $container The associated container, if any. * @param string|Stringable|null $dataKey The missing data key, if any. * * @since [*next-version*] * * @return NotFoundException The new exception. */The method _createNotFoundException is not named in camelCase. protected function _createNotFoundException(Method `_createNotFoundException` has 5 arguments (exceeds 4 allowed). Consider refactoring. $message = null, $code = null, RootException $previous = null, BaseContainerInterface $container = null, $dataKey = null ) { return new NotFoundException($message, $code, $previous, $container, $dataKey); }}