Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ffa4360

Browse filesBrowse files
committed
Merge branch '2.4' into 2.5
* 2.4: Update form_events.rst Update form_events.rst Update page_creation.rst Update page_creation.rst Update internals.rst
2 parents 5e5abd3 + 6d11002 commit ffa4360
Copy full SHA for ffa4360

File tree

Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed

‎book/internals.rst

Copy file name to clipboardExpand all lines: book/internals.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Symfony2 internals.
1010

1111
.. note::
1212

13-
You need to read this section only if you want to understand how Symfony2
14-
works behind the scene, or if you want to extend Symfony2.
13+
You only need to read this section if you want to understand how Symfony2
14+
works behind the scenes, or if you want to extend Symfony2.
1515

1616
Overview
1717
--------

‎book/page_creation.rst

Copy file name to clipboardExpand all lines: book/page_creation.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ greeted. To create the page, follow the simple two-step process.
8181
your webserver. The above URL assumes that ``localhost`` points to the
8282
``web`` directory of your new Symfony2 project. For detailed information
8383
on this process, see the documentation on the web server you are using.
84-
Here's the relevant documentation page for some web server you might be using:
84+
Here are some relevant documentation pages for the web server you might be using:
8585

8686
* For Apache HTTP Server, refer to `Apache's DirectoryIndex documentation`_
8787
* For Nginx, refer to `Nginx HttpCoreModule location documentation`_

‎components/form/form_events.rst

Copy file name to clipboardExpand all lines: components/form/form_events.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Registering an event listener is very easy using the Form component.
1414

1515
For example, if you wish to register a function to the
1616
``FormEvents::PRE_SUBMIT`` event, the following code lets you add a field,
17-
depending on the request' values::
17+
depending on the request values::
1818

1919
// ...
2020

@@ -349,7 +349,7 @@ Event subscribers have different uses:
349349
350350
class AddEmailFieldListener implements EventSubscriberInterface
351351
{
352-
public function getSubscribedEvents()
352+
public static function getSubscribedEvents()
353353
{
354354
return array(
355355
FormEvents::PRE_SET_DATA => 'onPreSetData',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.