Clarify function of registerModificationDate()

This commit is contained in:
Ingo Schommer 2018-06-14 13:31:34 +12:00
parent 3625b2553d
commit 513e0891d3
1 changed files with 4 additions and 3 deletions

View File

@ -109,8 +109,8 @@ class HTTPCacheControlMiddleware implements HTTPMiddleware, Resettable
/**
* Forcing level of previous setting; higher number wins
* Combination of consts belo
*w
* Combination of consts below
*
* @var int
*/
protected $forcingLevel = null;
@ -257,7 +257,8 @@ class HTTPCacheControlMiddleware implements HTTPMiddleware, Resettable
/**
* Register a modification date. Used to calculate the Modification-Date http header
* Register a modification date. Used to calculate the "Last-Modified" HTTP header.
* Can be called multiple times, and will automatically retain the most recent date.
*
* @param string|int $date Date string or timestamp
* @return HTTPCacheControlMiddleware