Skip to content

Commit a7d1502

Browse files
cordovalweaverryan
authored andcommitted
fixed typo within the code to make it consistent with the paragraph description
1 parent af88b7b commit a7d1502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/internals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ The value returned by the Controller is accessible via the
299299

300300
public function onKernelView(GetResponseForControllerResultEvent $event)
301301
{
302-
$val = $event->getReturnValue();
302+
$val = $event->getControllerResult();
303303
$response = new Response();
304304
// some how customize the Response from the return value
305305

0 commit comments

Comments
 (0)