var completion: (()-> Void)?

class func showView(inside view: UIView,
                        with trophy: Trophy,
                        completion:(()-> Void)? = nil) -> TrophyDetailsView {
}

我一直在上面的行中“返回空白违规”,我该如何解决?