Skip to content

Commit

Permalink
Update EventListener.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Feb 4, 2020
1 parent 720e2fc commit 82625e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public function handleEvent(ResponseEvent $event): void
$content = $response->getContent();
$content .= "\n<!-- It works! -->\n";

$e->getResponse()->setContent($content);
$response->setContent($content);
}
}

0 comments on commit 82625e7

Please sign in to comment.