sub_type === TeachingType::COLLABORATIVE->value) { return $next($request); } return abort(404); } }