Soft Rejection Directory Paths are Missing

Hi everyone,
I have created a directory function to enqueue all assets directory, version & dependency by just handle & src. The function’s are working absolutely fine. Here is it…

function enqueue_style( $id, $file ) {
        wp_enqueue_style( $id, get_template_directory_uri() . '/assets/' . $file, array(), wp_get_theme()->get( 'Version' ) );
}
To enqueue a style, just here is the code:
enqueue_style( 'slider', 'css/vendor/slider.min.css' );

The reviewer’s comment is…
Directory paths are missing:

I don’t understand what directory paths are missing here. Please help!!

Thanks & Regards

Why you are using a custom function instead of directly using wp_enqueue_style? Don’t reinvent the wheel, keep things simple. No need to be overly “creative” with your coding.
(BTW, you need to prefix your custom functions).