From e07d940b9b54039e6d3ee072f97dc5f16cef2d4d Mon Sep 17 00:00:00 2001 From: Maksymilian Sielicki Date: Fri, 26 Jun 2020 10:54:40 +0200 Subject: [PATCH] docs: remove first person from 2 sentences (#37768) This commit removes two instances of the first person in the Dependency injection providers documentation. PR Close #37768 --- aio/content/guide/dependency-injection-providers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/dependency-injection-providers.md b/aio/content/guide/dependency-injection-providers.md index c171be3a71..5480b50497 100644 --- a/aio/content/guide/dependency-injection-providers.md +++ b/aio/content/guide/dependency-injection-providers.md @@ -197,11 +197,11 @@ Like `EvenBetterLogger`, `HeroService` needs to know if the user is authorized That authorization can change during the course of a single application session, as when you log in a different user. -Let's say you don't want to inject `UserService` directly into `HeroService`, because you don't want to complicate that service with security-sensitive information. +Imagine that you don't want to inject `UserService` directly into `HeroService`, because you don't want to complicate that service with security-sensitive information. `HeroService` won't have direct access to the user information to decide who is authorized and who isn't. -To resolve this, we give the `HeroService` constructor a boolean flag to control display of secret heroes. +To resolve this, give the `HeroService` constructor a boolean flag to control display of secret heroes.