Skip to content

Commit 7979351

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: Formatting: Apply PSR-2 formatting to code example Update conventions.rst Small grammar update in HttpFoundation
2 parents 9ca4640 + a927e21 commit 7979351

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ represented by a PHP callable instead of a string::
474474

475475
Additionally, PHP isn't the only layer that can buffer output. Your web
476476
server might also buffer based on its configuration. Some servers, such as
477-
Nginx, let you disable buffering at config level or adding a special HTTP
477+
Nginx, let you disable buffering at the config level or by adding a special HTTP
478478
header in the response::
479479

480480
// disables FastCGI buffering in Nginx only for this response

contributing/code/conventions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ When an object has a "main" many relation with related "things"
2626
* ``count()``
2727
* ``keys()``
2828

29-
The usage of these methods are only allowed when it is clear that there
29+
The usage of these methods is only allowed when it is clear that there
3030
is a main relation:
3131

3232
* a ``CookieJar`` has many ``Cookie`` objects;

doctrine/registration_form.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ With some validation added, your class may look something like this::
9999
*/
100100
private $roles;
101101

102-
public function __construct() {
102+
public function __construct()
103+
{
103104
$this->roles = array('ROLE_USER');
104105
}
105106

0 commit comments

Comments
 (0)