yiisoft/yii2 — pull request #4543 by slavcodev (2014-07-31 13:41:30+00:00)
Title: Refactored ActiveQuery::one() to be consistent with all() creation

- remove code duplicate
- one() and all() create models identically
- usefully on extends ActiveQuery