From aeff8466ffd0d4ce879cde486e298f38162d827e Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 5 Sep 2019 21:38:13 +0300 Subject: [PATCH] Fix #17544: Removed incorrect statement about default value from Session::$gCProbability and its getter [skip ci] --- framework/web/Session.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/web/Session.php b/framework/web/Session.php index 0e47559146..b59c47995a 100644 --- a/framework/web/Session.php +++ b/framework/web/Session.php @@ -54,7 +54,7 @@ use yii\base\InvalidConfigException; * variables share the same name space. If you have a normal session variable using the same name, its value will * be overwritten by this method. This property is write-only. * @property float $gCProbability The probability (percentage) that the GC (garbage collection) process is - * started on every session initialization, defaults to 1 meaning 1% chance. + * started on every session initialization. * @property bool $hasSessionId Whether the current request has sent the session ID. * @property string $id The current session ID. * @property bool $isActive Whether the session has started. This property is read-only. @@ -453,7 +453,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co } /** - * @return float the probability (percentage) that the GC (garbage collection) process is started on every session initialization, defaults to 1 meaning 1% chance. + * @return float the probability (percentage) that the GC (garbage collection) process is started on every session initialization. */ public function getGCProbability() {