Skip to content

Commit f23bab1

Browse files
forevermattskepticspriggan
authored andcommitted
Fix typo in setCookieParams() documentation
1 parent cd17746 commit f23bab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/web/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function getCookieParams()
398398
* of `session_get_cookie_params()`.
399399
* @param array $value cookie parameters, valid keys include: `lifetime`, `path`, `domain`, `secure` and `httponly`.
400400
* Starting with Yii 2.0.21 `sameSite` is also supported. It requires PHP version 7.3.0 or higher.
401-
* For securtiy, an exception will be thrown if `sameSite` is set while using an unsupported version of PHP.
401+
* For security, an exception will be thrown if `sameSite` is set while using an unsupported version of PHP.
402402
* To use this feature across different PHP versions check the version first. E.g.
403403
* ```php
404404
* [

0 commit comments

Comments
 (0)