diff vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php	Mon Apr 23 09:46:53 2018 +0100
@@ -33,16 +33,12 @@
     /**
      * Checks that at least one surrogate has Surrogate capability.
      *
-     * @param Request $request A Request instance
-     *
      * @return bool true if one surrogate has Surrogate capability, false otherwise
      */
     public function hasSurrogateCapability(Request $request);
 
     /**
      * Adds Surrogate-capability to the given Request.
-     *
-     * @param Request $request A Request instance
      */
     public function addSurrogateCapability(Request $request);
 
@@ -50,16 +46,12 @@
      * Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.
      *
      * This method only adds an Surrogate HTTP header if the Response has some Surrogate tags.
-     *
-     * @param Response $response A Response instance
      */
     public function addSurrogateControl(Response $response);
 
     /**
      * Checks that the Response needs to be parsed for Surrogate tags.
      *
-     * @param Response $response A Response instance
-     *
      * @return bool true if the Response needs to be parsed, false otherwise
      */
     public function needsParsing(Response $response);
@@ -79,9 +71,6 @@
     /**
      * Replaces a Response Surrogate tags with the included resource content.
      *
-     * @param Request  $request  A Request instance
-     * @param Response $response A Response instance
-     *
      * @return Response
      */
     public function process(Request $request, Response $response);