It is valid. URL could be something like foo.css?0 where query is a version number that changes from time to time to force browser to reload file.

Why move those functions from functions.php? Those functions are used in multiple classes.