mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Fix #17850: Update to ReplaceArrayValue config exception message
This commit is contained in:
@ -4,6 +4,7 @@ Yii Framework 2 Change Log
|
|||||||
2.0.33 under development
|
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 #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 #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)
|
- Bug #17829: `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels (rhertogh)
|
||||||
|
|||||||
@ -85,7 +85,7 @@ class ReplaceArrayValue
|
|||||||
public static function __set_state($state)
|
public static function __set_state($state)
|
||||||
{
|
{
|
||||||
if (!isset($state['value'])) {
|
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']);
|
return new self($state['value']);
|
||||||
|
|||||||
Reference in New Issue
Block a user