Skip to content

Commit 8151661

Browse files
minor symfony#25455 [HttpFoundation] Add immutable to setCache's PHPDoc (dunglas)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpFoundation] Add immutable to setCache's PHPDoc | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 6e248ca [HttpFoundation] Add immutable to setCache's PHPDoc
2 parents 76176d9 + 6e248ca commit 8151661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ public function setEtag($etag = null, $weak = false)
952952
/**
953953
* Sets the response's cache headers (validation and/or expiration).
954954
*
955-
* Available options are: etag, last_modified, max_age, s_maxage, private, and public.
955+
* Available options are: etag, last_modified, max_age, s_maxage, private, public and immutable.
956956
*
957957
* @param array $options An array of cache options
958958
*

0 commit comments

Comments
 (0)