Skip to content

Commit 600b5e7

Browse files
committed
[symfony#1930] Backporting changes made by @pborreli
1 parent 166e689 commit 600b5e7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

components/dependency_injection/definitions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ You can add a new argument to the end of the arguments array using::
9191

9292
$definition->addArgument($argument);
9393

94-
The argument can be a string, an array, a service parameter by using ``%paramater_name%``
94+
The argument can be a string, an array, a service parameter by using ``%parameter_name%``
9595
or a service id by using ::
9696

9797
use Symfony\Component\DependencyInjection\Reference;

cookbook/doctrine/file_uploads.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ object, which is what's returned after a ``file`` field is submitted::
216216
// move takes the target directory and then the target filename to move to
217217
$this->file->move($this->getUploadRootDir(), $this->file->getClientOriginalName());
218218

219-
// set the path property to the filename where you'ved saved the file
219+
// set the path property to the filename where you've saved the file
220220
$this->path = $this->file->getClientOriginalName();
221221

222222
// clean up the file property as you won't need it anymore

cookbook/logging/monolog_email.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: Logging; Emailling errors
2+
single: Logging; Emailing errors
33

44
How to Configure Monolog to Email Errors
55
========================================

cookbook/service_container/scopes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ when compiling the container. Read the sidebar below for more details.
3535

3636
Imagine you've configured a `my_mailer` service. You haven't configured
3737
the scope of the service, so it defaults to `container`. In other words,
38-
everytime you ask the container for the `my_mailer` service, you get
38+
every time you ask the container for the `my_mailer` service, you get
3939
the same object back. This is usually how you want your services to work.
4040

4141
Imagine, however, that you need the `request` service in your `my_mailer`

0 commit comments

Comments
 (0)