8000 minor #24723 [HttpFoundation] Mark new methods on Response as final (… · symfony/symfony@e839df9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e839df9

Browse files
committed
minor #24723 [HttpFoundation] Mark new methods on Response as final (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpFoundation] Mark new methods on Response as final | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- a913f70 [HttpFoundation] Mark new methods on Response as final
2 parents 47b9e9a + a913f70 commit e839df9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,8 @@ public function setPublic()
612612
* @param bool $immutable enables or disables the immutable directive
613613
*
614614
* @return $this
615+
*
616+
* @final
615617
*/
616618
public function setImmutable($immutable = true)
617619
{
@@ -628,6 +630,8 @@ public function setImmutable($immutable = true)
628630
* Returns true if the response is marked as "immutable".
629631
*
630632
* @return bool returns true if the response is marked as "immutable"; otherwise false
633+
*
634+
* @final
631635
*/
632636
public function isImmutable()
633637
{

0 commit comments

Comments
 (0)
0