fix documentation error

typehinting callback to Closure to support PHP 5.3