Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Hi @tobias-93,

I just noticed that

  • JsonpCallbackValidator::validate is static so doesn't require to instanciate a class
  • BadRequestHttpException should be preferred over HttpException for a 400 status

So I made the PR :)

@tobias-93 tobias-93 merged commit 9493cbd into FriendsOfSymfony:master Jul 4, 2023
@tobias-93
Copy link
Collaborator

Thanks @VincentLanglet

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.

3 participants