8000 Merge branch '2.8' into 3.4 · symfony/symfony-docs@a927e21 · GitHub
[go: up one dir, main page]

Skip to content

Commit a927e21

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: Formatting: Apply PSR-2 formatting to code example Updat 10000 e conventions.rst Small grammar update in HttpFoundation
2 parents 7ac5f7b + c06f402 commit a927e21

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
@@ -477,7 +477,7 @@ represented by a PHP callable instead of a string::
477477

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

483483
// 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
@@ -93,7 +93,8 @@ With some validation added, your class may look something like this::
9393
*/
9494
private $roles;
9595

96-
public function __construct() {
96+
public function __construct()
97+
{
9798
$this->roles = array('ROLE_USER');
9899
}
99100

0 commit comments

Comments
 (0)
0