Skip to content

Commit 19e1298

Browse files
authored
Merge pull request codeguy#822 from BBBThunda/fixLiskovTypo
Fix typo in SOLID Liskov subheading
2 parents 3add9b7 + 5ed4f4d commit 19e1298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/06-03-01-Complex-Problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ the parent class’ type definitions.” Or, in Robert C. Martin’s words, “S
5151
types.”
5252

5353
For example, if we have a `FileInterface` interface which defines an `embed()` method, and we have `Audio` and `Video`
54-
classes which both implement the `embed()` method, then we can expect that the usage of the `embed()` method will always
54+
classes which both implement the `FileInterface` interface, then we can expect that the usage of the `embed()` method will always
5555
do the thing that we intend. If we later create a `PDF` class or a `Gist` class which implement the `FileInterface`
5656
interface, we will already know and understand what the `embed()` method will do. The largest benefit of this approach
5757
is that we have the ability to build flexible and easily-configurable programs, because when we change one object of a

0 commit comments

Comments
 (0)