Merge pull request #9252 from schojniak/master

Fixed documentation according to Chg #4911 [skip ci]
This commit is contained in:
Alexander Makarov
2015-07-29 15:26:01 +03:00
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ interface Arrayable
* returning the corresponding field value. The signature of the callable should be: * returning the corresponding field value. The signature of the callable should be:
* *
* ```php * ```php
* function ($field, $model) { * function ($model, $field) {
* // return field value * // return field value
* } * }
* ``` * ```

View File

@@ -885,7 +885,7 @@ class Model extends Component implements IteratorAggregate, ArrayAccess, Arrayab
* returning the corresponding field value. The signature of the callable should be: * returning the corresponding field value. The signature of the callable should be:
* *
* ```php * ```php
* function ($field, $model) { * function ($model, $field) {
* // return field value * // return field value
* } * }
* ``` * ```