Skip to content

Commit

Permalink
Merge branch '2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Jun 28, 2018
2 parents 0a69709 + 55cad47 commit 2f941fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"willdurand/negotiation": "^2.0.3"
},
"require-dev": {
"symfony/http-foundation": "^3.1@dev || ^4.0@dev",

"behat/behat": "^3.1",
"behat/mink": "^1.7",
"behat/mink-browserkit-driver": "^1.3.1",
Expand Down
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 2f941fc

Please sign in to comment.