Skip to content

Commit

Permalink
Merge pull request #2046 from soyuka/small-tweaks
Browse files Browse the repository at this point in the history
Small code tweaks
  • Loading branch information
teohhanhui committed Jun 27, 2018
2 parents 68f2df6 + 874767f commit 755d192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/EventListener/WriteListener.php
Expand Up @@ -22,7 +22,7 @@
* @author Kévin Dunglas <dunglas@gmail.com>
* @author Baptiste Meyer <baptiste.meyer@gmail.com>
*/
class WriteListener
final class WriteListener
{
private $dataPersister;

Expand Down
2 changes: 1 addition & 1 deletion src/HttpCache/EventListener/AddTagsListener.php
Expand Up @@ -66,6 +66,6 @@ public function onKernelResponse(FilterResponseEvent $event)
return;
}

$event->getResponse()->headers->set('Cache-Tags', implode(',', $resources));
$response->headers->set('Cache-Tags', implode(',', $resources));
}
}

0 comments on commit 755d192

Please sign in to comment.