Bug report
assert_options should expect a callable in case of ASSERT_CALLBACK only.
Code snippet that reproduces the problem
https://phpstan.org/r/d8a398c6-8e65-4a2a-8bc1-b5f7f2669d2c
Expected output
There should not be an error expecting a callable if assert_options wasn't called with ASSERT_CALLBACK.