Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/dependency_injection/definitions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ You can add a new argument to the end of the arguments array using::

$definition->addArgument($argument);

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

use Symfony\Component\DependencyInjection\Reference;
Expand Down
2 changes: 1 addition & 1 deletion components/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ endpoint for filesystem operations::
try {
$fs->mkdir('/tmp/random/dir/' . mt_rand());
} catch (IOException $e) {
echo "An error occured while creating your directory";
echo "An error occurred while creating your directory";
}

.. note::
Expand Down
2 changes: 1 addition & 1 deletion components/http_foundation/sessions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Quick example::

.. note::

Symfony sessions are designed to replace several native PHP funtions.
Symfony sessions are designed to replace several native PHP functions.
Applications should avoid using ``session_start()``, ``session_regenerate_id()``,
``session_id()``, ``session_name()``, and ``session_destroy()`` and instead
use the APIs in the following section.
Expand Down
2 changes: 1 addition & 1 deletion cookbook/doctrine/file_uploads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ object, which is what's returned after a ``file`` field is submitted::
// move takes the target directory and then the target filename to move to
$this->file->move($this->getUploadRootDir(), $this->file->getClientOriginalName());

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

// clean up the file property as you won't need it anymore
Expand Down
2 changes: 1 addition & 1 deletion cookbook/logging/monolog_email.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. index::
single: Logging; Emailling errors
single: Logging; Emailing errors

How to Configure Monolog to Email Errors
========================================
Expand Down
2 changes: 1 addition & 1 deletion cookbook/service_container/scopes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ when compiling the container. Read the sidebar below for more details.

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

Imagine, however, that you need the `request` service in your `my_mailer`
Expand Down
4 changes: 2 additions & 2 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Configuration Reference
# True to use as persistent connection for the ibm_db2 driver
persistent: ~

# The protocol to use for the ibm_db2 driver (default to TCPIP if ommited)
# The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
protocol: ~

# True to use dbname as service name instead of SID for Oracle
Expand Down Expand Up @@ -85,7 +85,7 @@ Configuration Reference
# True to use as persistent connection for the ibm_db2 driver
persistent: ~

# The protocol to use for the ibm_db2 driver (default to TCPIP if ommited)
# The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
protocol: ~

# True to use dbname as service name instead of SID for Oracle
Expand Down