Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HttpBadRequestException description #3253

Merged

Conversation

jsanahuja
Copy link
Contributor

Class Slim\Exception\HttpBadRequestException has a "typo" (a missing space) in $description variable:

protected string $description = 'The server cannot or will not process' .
'the request due to an apparent client error.';

Using getDescription() to display "generic" responses:

image

@l0gicgate l0gicgate added this to the 4.12.0 milestone Mar 7, 2023
@coveralls
Copy link

coveralls commented Mar 7, 2023

Coverage Status

Coverage: 99.429% (+0.002%) from 99.427% when pulling 591d112 on jsanahuja:fix-http-bad-request-exception-literal into fdf2dab on slimphp:4.x.

@l0gicgate l0gicgate merged commit 6d05f11 into slimphp:4.x Mar 7, 2023
@l0gicgate
Copy link
Member

Thank you for this contribution @jsanahuja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants