Added callable type-hint to LoopInterface, use SplQueue::isEmpty().