Skip to content

Commit

Permalink
Merge pull request yiisoft#20126 from forevermatt/patch-1
Browse files Browse the repository at this point in the history
Fix typo in setCookieParams() documentation
  • Loading branch information
bizley authored Mar 7, 2024
2 parents 75b9598 + e02245f commit b0aa6ab
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 b0aa6ab

Please sign in to comment.