Upgrading User.php model to new Laravel version