mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	Fix typo in setCookieParams() documentation
This commit is contained in:
		| @ -398,7 +398,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co | |||||||
|      * of `session_get_cookie_params()`. |      * of `session_get_cookie_params()`. | ||||||
|      * @param array $value cookie parameters, valid keys include: `lifetime`, `path`, `domain`, `secure` and `httponly`. |      * @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. |      * 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. |      * To use this feature across different PHP versions check the version first. E.g. | ||||||
|      * ```php |      * ```php | ||||||
|      * [ |      * [ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 forevermatt
					forevermatt