Skip to content

Commit de1c798

Browse files
pborreliweaverryan
authored andcommitted
Fixed typos
1 parent 6fa2da7 commit de1c798

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
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;

components/filesystem.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ endpoint for filesystem operations::
3333
try {
3434
$fs->mkdir('/tmp/random/dir/' . mt_rand());
3535
} catch (IOException $e) {
36-
echo "An error occured while creating your directory";
36+
echo "An error occurred while creating your directory";
3737
}
3838

3939
.. note::

components/http_foundation/sessions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Quick example::
3737

3838
.. note::
3939

40-
Symfony sessions are designed to replace several native PHP funtions.
40+
Symfony sessions are designed to replace several native PHP functions.
4141
Applications should avoid using ``session_start()``, ``session_regenerate_id()``,
4242
``session_id()``, ``session_name()``, and ``session_destroy()`` and instead
4343
use the APIs in the following section.

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`

reference/configuration/doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Configuration Reference
4040
# True to use as persistent connection for the ibm_db2 driver
4141
persistent: ~
4242
43-
# The protocol to use for the ibm_db2 driver (default to TCPIP if ommited)
43+
# The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
4444
protocol: ~
4545
4646
# True to use dbname as service name instead of SID for Oracle
@@ -85,7 +85,7 @@ Configuration Reference
8585
# True to use as persistent connection for the ibm_db2 driver
8686
persistent: ~
8787
88-
# The protocol to use for the ibm_db2 driver (default to TCPIP if ommited)
88+
# The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
8989
protocol: ~
9090
9191
# True to use dbname as service name instead of SID for Oracle

0 commit comments

Comments
 (0)