Update RedirectResponse.php

Replaced 2 functions in the redirect file with the trait that allready includes them (unnecessary duplication).