Have you ever encountered an issue where you accidentally passed the wrong data to your function?
This can happen not only with arrays but with any other data. And Larastan is here to help you catch those cases:
For this example we'll run it on level 5:
includes:- ./vendor/nunomaduro/larastan/extension.neonparameters:paths:- app/# Level 9 is the highest levellevel: 5
./vendor/bin/phpstan analyze we'll see an error too:...