Skip to content

Commit

Permalink
Fix typo in setCookieParams() documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt authored Mar 6, 2024
1 parent 283499c commit e02245f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/web/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public function getCookieParams()
* of `session_get_cookie_params()`.
* @param array $value cookie parameters, valid keys include: `lifetime`, `path`, `domain`, `secure` and `httponly`.
* Starting with Yii 2.0.21 `sameSite` is also supported. It requires PHP version 7.3.0 or higher.
* For securtiy, an exception will be thrown if `sameSite` is set while using an unsupported version of PHP.
* For security, an exception will be thrown if `sameSite` is set while using an unsupported version of PHP.
* To use this feature across different PHP versions check the version first. E.g.
* ```php
* [
Expand Down

0 comments on commit e02245f

Please sign in to comment.