@@ -31,7 +31,7 @@ SOLID helps us write code that is:
3131
3232## Single Responsibility Principle
3333
34- ![ Single Responsibility Principle] ( .. /images/solid/srp.jpg )
34+ ![ Single Responsibility Principle] ( ./images/solid/srp.jpg )
3535
3636> A class should have a single responsibility
3737
@@ -113,7 +113,7 @@ After refactoring, we have two classes that each perform a specific task. `The F
113113
114114## Open-Closed Principle
115115
116- ![ Open-Closed Principle] ( .. /images/solid/open-close.jpg )
116+ ![ Open-Closed Principle] ( ./images/solid/open-close.jpg )
117117
118118> Modules, classes, methods and other application entities
119119 should be open for extension but closed for modification
@@ -252,7 +252,7 @@ logger.log("Emergency error! Please fix me!")
252252
253253## Liskov Substitution Principle
254254
255- ![ Liskov Substitution Principle] ( .. /images/solid/liskov.jpg )
255+ ![ Liskov Substitution Principle] ( ./images/solid/liskov.jpg )
256256
257257> Subclasses should add to a base class' behaviour, not replace it
258258
@@ -312,7 +312,7 @@ To comply with the LSP principle, we can segregate the filtration logic and the
312312
313313## The Interface Segregation Principle
314314
315- ![ Interface Segregation Principle] ( .. /images/solid/interface-segregation.jpg )
315+ ![ Interface Segregation Principle] ( ./images/solid/interface-segregation.jpg )
316316
317317> Clients shouldn't depend on methods they don't use.
318318 Several client-specific interfaces are better than one generalised interface
@@ -405,13 +405,13 @@ class Staff
405405 end
406406end
407407```
408- ![ Autopilot] ( .. /images/solid/auto-pilot.png )
408+ ![ Autopilot] ( ./images/solid/auto-pilot.png )
409409
410410Image credit: https://levelup.gitconnected.com/interface-segregation-principle-made-simple-990da495441c
411411
412412## The Dependency Inversion Principle
413413
414- ![ Dependency Inversion Principle] ( .. /images/solid/dependency-inversion.jpg )
414+ ![ Dependency Inversion Principle] ( ./images/solid/dependency-inversion.jpg )
415415
416416> High-level modules shouldn't depend on low-level modules.
417417 Both modules should depend on abstractions.
0 commit comments