-
-
### Type
Cosmetic
### Issue
I notice that is missing some SOLID principles to this Hotel Management System
### Feature
The ManageRoom class handles both the business logic (add, delete rooms) and…
-
-
Explained the SOLID principles in my language
-
![image](https://user-images.githubusercontent.com/49828361/61611028-4c2e9c00-ac8d-11e9-95cd-2870c03d2f4c.png)
1. A class should have one reason to change
2. A class can extends without modificati…
-
Learn more about solid principles
Single-responsibility principle
Open-closed principle
Liskov substitution principle
Interface segregation principle
Dependency inversion principle
-
This topic is already shared on 2020.9.24
-
Hi, me and my team where checking your project and we wanted to suggest you some changes in orden to apply the S.O.L.I.D principles.
SRP, this principle states that every module or class should hav…
-
Refactor this code towards S.O.L.I.D. principles.
-
https://github.com/lkchamara/sweet-stock/blob/9f613da6b880f44ec62405b2474b4e20ef8b8466/src/SweetStock.php#L16
This class is still open for modification, Let's say your manager is asking you to add …