Refactored ActiveQuery::one() to be consistent with all() creation
Merge pull request #4543 from slavcodev/refactoring-query

Refactored ActiveQuery::one() to be consistent with all() creation