Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove string type hint as there can be an array value #1525
Recently this error showed up (via sentry.io) multiple times in a Contao 4.9.1 setup:
I'm afraid I don't have a case to reproduce this behaviour on my local machine.
But the method itself checks if it is a
Looks like we can remove the type hint of the second argument.