Bug report
Hi,
When the $rest argument is not given in the below code example. phpstan throws:
Unable to resolve the template type TRest in call to function intersection
This is valid PHP, but i'm not sure what PHPStan can do here, since there is no type provided by the caller.
Code snippet that reproduces the problem
https://phpstan.org/r/6e40c732-5e71-4c6b-8a60-db7be4deb506
Expected output
No errors
Did PHPStan help you today? Did it make you happy in any way?
Every day it makes my life easier and saves me :)
Bug report
Hi,
When the
$restargument is not given in the below code example. phpstan throws:This is valid PHP, but i'm not sure what PHPStan can do here, since there is no type provided by the caller.
Code snippet that reproduces the problem
https://phpstan.org/r/6e40c732-5e71-4c6b-8a60-db7be4deb506
Expected output
No errors
Did PHPStan help you today? Did it make you happy in any way?
Every day it makes my life easier and saves me :)