X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Faction%2Fsrc%2FPlugin%2FAction%2FGotoAction.php;fp=web%2Fcore%2Fmodules%2Faction%2Fsrc%2FPlugin%2FAction%2FGotoAction.php;h=13a9a0d404d07ff65911954306a177f853262095;hp=44e871b92a96fcecb2e3b7e96545559bfcba7f7d;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/action/src/Plugin/Action/GotoAction.php b/web/core/modules/action/src/Plugin/Action/GotoAction.php index 44e871b92..13a9a0d40 100644 --- a/web/core/modules/action/src/Plugin/Action/GotoAction.php +++ b/web/core/modules/action/src/Plugin/Action/GotoAction.php @@ -92,7 +92,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi $url = $this->unroutedUrlAssembler->assemble($uri, $options); } $response = new RedirectResponse($url); - $listener = function($event) use ($response) { + $listener = function ($event) use ($response) { $event->setResponse($response); }; // Add the listener to the event dispatcher.