10000 minor #9953 Formatting: Apply PSR-2 formatting to code example (robme… · symfony/symfony-docs@c06f402 · GitHub
[go: up one dir, main page]

Skip to content

Commit c06f402

Browse files
committed
minor #9953 Formatting: Apply PSR-2 formatting to code example (robmeijer)
This PR was merged into the 2.8 branch. Discussion ---------- Formatting: Apply PSR-2 formatting to code example <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- fb386cb Formatting: Apply PSR-2 formatting to code example
2 parents 3870623 + fb386cb commit c06f402

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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