@@ -50,12 +50,12 @@ class CacheControlSubscriber extends AbstractRuleSubscriber implements EventSubs
5050 * If not empty, add a debug header with that name to all responses,
5151 * telling the cache proxy to add debug output.
5252 *
53- * @var string|bool Name of the header or false to add no header.
53+ * @var string|bool Name of the header or false to add no header
5454 */
5555 private $ debugHeader ;
5656
5757 /**
58- * @param string|bool $debugHeader Header to set to trigger debugging, or false to send no header.
58+ * @param string|bool $debugHeader Header to set to trigger debugging, or false to send no header
5959 */
6060 public function __construct ($ debugHeader = false )
6161 {
@@ -148,7 +148,7 @@ public function onKernelResponse(FilterResponseEvent $event)
148148 *
149149 * @param Response $response
150150 * @param array $directives
151- * @param bool $overwrite Whether to keep existing cache headers or to overwrite them.
151+ * @param bool $overwrite Whether to keep existing cache headers or to overwrite them
152152 */
153153 private function setCache (Response $ response , array $ directives , $ overwrite )
154154 {
@@ -185,7 +185,7 @@ private function setCache(Response $response, array $directives, $overwrite)
185185 *
186186 * @param Response $response
187187 * @param array $controls
188- * @param bool $overwrite Whether to keep existing cache headers or to overwrite them.
188+ * @param bool $overwrite Whether to keep existing cache headers or to overwrite them
189189 */
190190 private function setExtraCacheDirectives (Response $ response , array $ controls , $ overwrite )
191191 {
@@ -216,7 +216,7 @@ private function setExtraCacheDirectives(Response $response, array $controls, $o
216216 *
217217 * @param Request $request
218218 *
219- * @return bool True if the request is safe and headers can be set.
219+ * @return bool True if the request is safe and headers can be set
220220 */
221221 protected function isRequestSafe (Request $ request )
222222 {
0 commit comments