The government shutdown officially ended as President Donald Trump signed into law a spending bill passed by congress Wednesday night.