Commit 6c1ef346 by Alexander Makarov

fixed typos in ArrayHelperBase phpdoc

parent cc5618c0
...@@ -209,7 +209,7 @@ class ArrayHelperBase ...@@ -209,7 +209,7 @@ class ArrayHelperBase
* // ) * // )
* *
* // using anonymous function * // using anonymous function
* $result = ArrayHelper::index($array, function(element) { * $result = ArrayHelper::index($array, function ($element) {
* return $element['id']; * return $element['id'];
* }); * });
* ~~~ * ~~~
...@@ -243,7 +243,7 @@ class ArrayHelperBase ...@@ -243,7 +243,7 @@ class ArrayHelperBase
* // the result is: array( '123', '345') * // the result is: array( '123', '345')
* *
* // using anonymous function * // using anonymous function
* $result = ArrayHelper::getColumn($array, function(element) { * $result = ArrayHelper::getColumn($array, function ($element) {
* return $element['id']; * return $element['id'];
* }); * });
* ~~~ * ~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment