8000 Merge branch '4.0' into 4.1 · symfony/symfony-docs@3420f0c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3420f0c

Browse files
committed
Merge branch '4.0' into 4.1
* 4.0: Grammar fix - Change "you're" to "your" Fix issue #9798
2 parents 68dc3db + 8ba6ec2 commit 3420f0c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

quick_tour/the_architecture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ add *no* overhead! It also means that you get *great* errors: Symfony inspects a
219219
validates *everything* when the container is built.
220220

221221
Now you might be wondering what happens when you update a file and the cache needs
222-
to rebuild? I like you're thinking! It's smart enough to rebuild on the next page
222+
to rebuild? I like your thinking! It's smart enough to rebuild on the next page
223223
load. But that's really the topic of the next section.
224224

225225
Development Versus Production: Environments

security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,10 +1069,10 @@ the User object, and use the ``isGranted()`` method (or
10691069

10701070
An alternative way to get the current user in a controller is to type-hint
10711071
the controller argument with
1072-
:class:`Symfony\\Component\\Security\\Core\\User\\UserInterface\\UserInterface`
1072+
:class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`
10731073
(and default it to ``null`` if being logged-in is optional)::
10741074

1075-
use Symfony\Component\Security\Core\User\UserInterface\UserInterface;
1075+
use Symfony\Component\Security\Core\User\UserInterface;
10761076

10771077
public function index(UserInterface $user = null)
10781078
{

service_container/factories.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ configure the service container to use the
7070
7171
// config/services.php
7272
use App\Email\NewsletterManager;
73-
use App\NumberGenerator;
7473
use App\Email\NewsletterManagerStaticFactory;
7574
// ...
7675
77-
$container->register(NumberGenerator::class)
76+
$container->register(NewsletterManager::class)
7877
// call the static method
7978
->setFactory(array(NewsletterManagerStaticFactory::class, 'createNewsletterManager'));
8079

0 commit comments

Comments
 (0)
0