Fix #17850: Update to ReplaceArrayValue config exception message

This commit is contained in:
alex-code
2020-02-05 17:08:28 +00:00
committed by GitHub
parent a19dd48b79
commit a3c5de3d3b
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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']);