Closed ruudk closed 1 year ago
@spaze Happy New Year! Please have a look when you have time!
Happy New Year to you too @ruudk! And thanks for the PR, this makes sense 👍 I'll merge and release soon.
With this feature, we now also are able to detect static references like CommandBus::class
in arguments. Before, those would be ignored too 😅
Nice! Can you write a test, or more like amend an existing one, for that case? (update: #161)
This allows for more types to be matched, like a CallbackType.
In my use case, I wanted to disallow
array_filter
without specifying a callback.But because the current
DisallowedCallParam
interface only works withConstantScalarType
this was not possible.