Skip to content

Commit c1a9fc9

Browse files
ahinkleGuikingone
authored andcommitted
Shorter array syntax for declaring numbers variable
1 parent 7dab7dc commit c1a9fc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page_creation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ variable so you can use it in Twig::
236236
{
237237
$number = random_int(0, 100);
238238

239-
return $this->render('lucky/number.html.twig', array(
239+
return $this->render('lucky/number.html.twig', [
240240
'number' => $number,
241-
));
241+
]);
242242
}
243243
}
244244

0 commit comments

Comments
 (0)