Skip to content

Commit 1473eec

Browse files
committed
fixed typo
1 parent 358b4c8 commit 1473eec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/part4.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ impact. Want to know how to use the generator? Insanely easy::
224224

225225
$generator = new Routing\Generator\UrlGenerator($routes, $context);
226226

227-
echo $generator->generate('hello', array('name' => 'Fabien));
227+
echo $generator->generate('hello', array('name' => 'Fabien'));
228228
// outputs /hello/Fabien
229229

230230
The code should be self-explanatory; and thanks to the context, you can even
231231
generate absolute URLs::
232232

233-
echo $generator->generate('hello', array('name' => 'Fabien), true);
233+
echo $generator->generate('hello', array('name' => 'Fabien'), true);
234234
// outputs something like http://example.com/somewhere/hello/Fabien
235235

236236
.. tip::

0 commit comments

Comments
 (0)