Should I leave my phone plugged in overnight? – Yes

the main danger in leaving your smartphone plugged in overnight was allowing the battery of your device to get hot and remain hot through the rest of the night. However, our mobile devices have gotten much smarter. They can stop charging when the battery has reached its full capacity and begin using the connected charger as its primary power source, allowing you to wake up to a fully-charged battery while your phone remains powered on through the night.

Source: Should I leave my phone plugged in overnight? – Android Authority