diff --git a/framework/helpers/base/ArrayHelper.php b/framework/helpers/base/ArrayHelper.php index 5df483a..4802651 100644 --- a/framework/helpers/base/ArrayHelper.php +++ b/framework/helpers/base/ArrayHelper.php @@ -95,7 +95,7 @@ class ArrayHelper * ~~~ * // $array = array('type'=>'A', 'options'=>array(1,2)); * // working with array - * $type = \yii\helpers\ArrayHelper::getValue($array, 'type'); + * $type = \yii\helpers\ArrayHelper::popValue($array, 'type'); * // $array content * // $array = array('options'=>array(1,2)); * ~~~