Browse Source

Fixed documentation according to Chg #4911

tags/2.0.6
Sebastian Chojniak 9 years ago
parent
commit
9012aa66bf
  1. 2
      framework/base/Arrayable.php
  2. 2
      framework/base/Model.php

2
framework/base/Arrayable.php

@ -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
* } * }
* ``` * ```

2
framework/base/Model.php

@ -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
* } * }
* ``` * ```

Loading…
Cancel
Save