Writing Clean & Maintainable Code
Which SOLID principle is violated in this code example?
class UserManager {
constructor() {
this.users = [];
}
addUser(user) {
this.users.push(user);
}
sendEmail(user, content) {
// Email sending logic here
}
saveToDatabase(user) {
// Database operations here
}
}