8000 Invalid PHP return statement · symfony/symfony-docs@70ab2fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 70ab2fe

Browse files
Charcosset Johnnywouterj
Charcosset Johnny
authored andcommitted
Invalid PHP return statement
Add ';' to end return statement
1 parent 9d90b1b commit 70ab2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/choice.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ method::
107107
},
108108
'group_by' => function($category, $key, $index) {
109109
// randomly assign things into 2 groups
110-
return rand(0, 1) == 1 ? 'Group A' : 'Group B'
110+
return rand(0, 1) == 1 ? 'Group A' : 'Group B';
111111
},
112112
'preferred_choices' => function($category, $key, $index) {
113113
return $category->getName() == 'Cat2' || $category->getName() == 'Cat3';

0 commit comments

Comments
 (0)
0