You shouldn’t leave your phone on the charger all night
In this Time.com article, it confirms what I heard. All night charging wears your battery down faster. The battery doesn’t hold a charge as long.
No big secret that the phone makers would like you to replace your phone, battery and/or accessories more often. Another way for them to make more money.