mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 01:30:23 +08:00
Merge pull request #9252 from schojniak/master
Fixed documentation according to Chg #4911 [skip ci]
This commit is contained in:
@@ -34,7 +34,7 @@ interface Arrayable
|
||||
* returning the corresponding field value. The signature of the callable should be:
|
||||
*
|
||||
* ```php
|
||||
* function ($field, $model) {
|
||||
* function ($model, $field) {
|
||||
* // return field value
|
||||
* }
|
||||
* ```
|
||||
|
||||
@@ -885,7 +885,7 @@ class Model extends Component implements IteratorAggregate, ArrayAccess, Arrayab
|
||||
* returning the corresponding field value. The signature of the callable should be:
|
||||
*
|
||||
* ```php
|
||||
* function ($field, $model) {
|
||||
* function ($model, $field) {
|
||||
* // return field value
|
||||
* }
|
||||
* ```
|
||||
|
||||
Reference in New Issue
Block a user