remove redundant check

This commit is contained in:
André Menrath 2023-12-22 20:27:49 +01:00
parent ea844ee942
commit 30f9b79bbf

View file

@ -297,8 +297,6 @@ class Factory {
} else {
return self::get_default_transformer( $object );
}
case 'WP_Comment':
return new Comment( $object );
default:
self::get_default_transformer( $object );
}