Skip to content

Commit

Permalink
minor #3657 Fix typos, remove trailing whitespace. (ifdattic)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Fix typos, remove trailing whitespace.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Commits
-------

2ec09a3 Fix typos, remove trailing whitespace.
  • Loading branch information
weaverryan committed Mar 19, 2014
2 parents 1b4f6a6 + 2ec09a3 commit d617011
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ JMSSerializer

A popular third-party library, `JMS serializer`_, provides a more
sophisticated albeit more complex solution. This library includes the
ability to configure how your objects should be serialize/deserialized via
ability to configure how your objects should be serialized/deserialized via
annotations (as well as YAML, XML and PHP), integration with the Doctrine ORM,
and handling of other complex cases (e.g. circular references).

Expand Down
6 changes: 3 additions & 3 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ cookie_lifetime

**type**: ``integer`` **default**: ``null``

This determines the lifetime of the session - in seconds. It will use ``null`` by
This determines the lifetime of the session - in seconds. It will use ``null`` by
default, which means ``session.cookie_lifetime`` value from ``php.ini`` will be used.
Setting this value to ``0`` means the cookie is valid for the length of the browser
Setting this value to ``0`` means the cookie is valid for the length of the browser
session.

cookie_path
Expand Down Expand Up @@ -204,7 +204,7 @@ cookie_httponly

**type**: ``Boolean`` **default**: ``false``

This determines whether cookies should only accessible through the HTTP protocol.
This determines whether cookies should only be accessible through the HTTP protocol.
This means that the cookie won't be accessible by scripting languages, such
as JavaScript. This setting can effectively help to reduce identity theft
through XSS attacks.
Expand Down
8 changes: 4 additions & 4 deletions reference/constraints/UniqueEntity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ table:
* @Assert\Email()
*/
protected $email;
// ...
}
Expand Down Expand Up @@ -97,7 +97,7 @@ table:
// DON'T forget this use statement!!!
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
class Author
{
public static function loadValidatorMetadata(ClassMetadata $metadata)
Expand Down Expand Up @@ -142,8 +142,8 @@ em
**type**: ``string``

The name of the entity manager to use for making the query to determine the
uniqueness. If it's left blank, the correct entity manager will determined for
this class. For that reason, this option should probably not need to be
uniqueness. If it's left blank, the correct entity manager will be determined
for this class. For that reason, this option should probably not need to be
used.

repositoryMethod
Expand Down
2 changes: 1 addition & 1 deletion reference/dic_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ translation.loader
**Purpose**: To register a custom service that loads translations
By default, translations are loaded form the filesystem in a variety of different
By default, translations are loaded from the filesystem in a variety of different
formats (YAML, XLIFF, PHP, etc). If you need to load translations from some
other source, first create a class that implements the
:class:`Symfony\\Component\\Translation\\Loader\\LoaderInterface` interface::
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ to see what options you have available.

Behind the scenes, these variables are made available to the ``FormView``
object of your form when the Form component calls ``buildView`` and ``buildViewBottomUp``
on each "node" of your form tree. To see what "view" variables a particularly
on each "node" of your form tree. To see what "view" variables a particular
field has, find the source code for the form field (and its parent fields)
and look at the above two functions.

Expand Down

0 comments on commit d617011

Please sign in to comment.