Fixed error after Laravel update