The type should should be ``callable`` rather than ``callback``. ``callback`` is not the type of argument but its usage (a callable to be called back later). The PHP pseudo-type is named ``callable``