Added localized descriptions to instances of \Slim\Exception\Http*Exc… #233
Annotations
10 errors
Run Psalm:
src/MvcRouteHandler.php#L95
src/MvcRouteHandler.php:95:17: PossiblyNullArgument: Argument 1 of SlimMvcTools\Utils::createSlimHttpExceptionWithLocalizedDescription cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm:
src/MvcRouteHandler.php#L111
src/MvcRouteHandler.php:111:17: PossiblyNullArgument: Argument 1 of SlimMvcTools\Utils::createSlimHttpExceptionWithLocalizedDescription cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm:
src/MvcRouteHandler.php#L154
src/MvcRouteHandler.php:154:17: PossiblyNullArgument: Argument 1 of SlimMvcTools\Utils::createSlimHttpExceptionWithLocalizedDescription cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm:
src/MvcRouteHandler.php#L178
src/MvcRouteHandler.php:178:17: PossiblyNullArgument: Argument 1 of SlimMvcTools\Utils::createSlimHttpExceptionWithLocalizedDescription cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm:
src/Utils.php#L50
src/Utils.php:50:21: MixedArgument: Argument 1 of Slim\Exception\HttpUnauthorizedException::setDescription cannot be mixed, expecting string (see https://psalm.dev/030)
|
Run Psalm:
src/Utils.php#L50
src/Utils.php:50:21: MixedArgument: Argument 1 of Slim\Exception\HttpBadRequestException::setDescription cannot be mixed, expecting string (see https://psalm.dev/030)
|
Run Psalm:
src/Utils.php#L50
src/Utils.php:50:21: MixedArgument: Argument 1 of Slim\Exception\HttpForbiddenException::setDescription cannot be mixed, expecting string (see https://psalm.dev/030)
|
Run Psalm:
src/Utils.php#L50
src/Utils.php:50:21: MixedArgument: Argument 1 of Slim\Exception\HttpGoneException::setDescription cannot be mixed, expecting string (see https://psalm.dev/030)
|
Run Psalm:
src/Utils.php#L50
src/Utils.php:50:21: MixedArgument: Argument 1 of Slim\Exception\HttpInternalServerErrorException::setDescription cannot be mixed, expecting string (see https://psalm.dev/030)
|
Run Psalm:
src/Utils.php#L50
src/Utils.php:50:21: MixedArgument: Argument 1 of Slim\Exception\HttpMethodNotAllowedException::setDescription cannot be mixed, expecting string (see https://psalm.dev/030)
|
Loading