fixing possible npw in PhpEventDispatcherGotoCompletionRegistrar