diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 6da7f8fc10..e9ccf24969 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -4,6 +4,7 @@ Yii Framework 2 Change Log 2.0.33 under development ------------------------ +- Bug #17850: Update to `ReplaceArrayValue` config exception message (alex-code) - Bug #17843: Fix `yii\web\Session::setCookieParamsInternal` check param "samesite" (schevgeny) - Bug #17828: Fix `yii\web\UploadedFile::saveAs()` failing when error value in `$_FILES` entry is a string (haveyaseen) - Bug #17829: `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels (rhertogh) diff --git a/framework/helpers/ReplaceArrayValue.php b/framework/helpers/ReplaceArrayValue.php index 4539c42d20..a408af264d 100644 --- a/framework/helpers/ReplaceArrayValue.php +++ b/framework/helpers/ReplaceArrayValue.php @@ -85,7 +85,7 @@ class ReplaceArrayValue public static function __set_state($state) { if (!isset($state['value'])) { - throw new InvalidConfigException('Failed to instantiate class "Instance". Required parameter "id" is missing'); + throw new InvalidConfigException('Failed to instantiate class "ReplaceArrayValue". Required parameter "value" is missing'); } return new self($state['value']);