Skip to content

Commit

Permalink
Small code tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
abluchet committed Jun 26, 2018
1 parent 68f2df6 commit 874767f
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 874767f

Please sign in to comment.