Skip to content

Commit d7b956e

Browse files
san1jwhym
authored andcommitted
dependency-injection.md: fix some typos (commons-app#1681)
1 parent fa6353b commit d7b956e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dependency-injection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Overview
22

3-
At its core, dependency injection is just the principle of `"tell, dont ask"` put into practice; for instance, if a class needs to use the `MediaWikiApi`, it should be handed an instance of the classs rather than reaching out to get it. This has the effect of decoupling code, making it easier to test and reuse.
3+
At its core, dependency injection is just the principle of `"tell, don't ask"` put into practice; for instance, if a class needs to use the `MediaWikiApi`, it should be handed an instance of the class rather than reaching out to get it. This has the effect of decoupling code, making it easier to test and reuse.
44

55
## Dependency Injection in the Commons app
66

0 commit comments

Comments
 (0)