Open tonglil opened 9 years ago
function () { \Queue...SomeQueue::class); } is of type object<Closure>, but the function expects a string.
Using class resolution, the value is a string.
class TestClass {} echo gettype(TestClass::class); // string
Using class resolution, the value is a string.