8000 [HttpFoundation] Mark new methods on Response as final · symfony/symfony@a913f70 · GitHub
[go: up one dir, main page]

Skip to content

Commit a913f70

Browse files
[HttpFoundation] Mark new methods on Response as final
1 parent 1e7d487 commit a913f70

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