Browse Source

fixed typos in ArrayHelperBase phpdoc

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
6c1ef346aa
  1. 4
      framework/yii/helpers/ArrayHelperBase.php

4
framework/yii/helpers/ArrayHelperBase.php

@ -209,7 +209,7 @@ class ArrayHelperBase
* // )
*
* // using anonymous function
* $result = ArrayHelper::index($array, function(element) {
* $result = ArrayHelper::index($array, function ($element) {
* return $element['id'];
* });
* ~~~
@ -243,7 +243,7 @@ class ArrayHelperBase
* // the result is: array( '123', '345')
*
* // using anonymous function
* $result = ArrayHelper::getColumn($array, function(element) {
* $result = ArrayHelper::getColumn($array, function ($element) {
* return $element['id'];
* });
* ~~~

Loading…
Cancel
Save