Sergei
Sergei
Да, но не в ближайшее время.
Да, там есть обозначенная проблема в конструкторе, но по-хорошему нужно заменить полностью весь `if` на приведенный вариант. Но это не решит проблему (там нет свойства contact). Там уже есть сеттер...
> if you are really sure When can count() return not integer number? string|int return type is missleading: people expect to see the number, suspecting that string will be return...
#14704 Indeed, string is better.
Given that the result can be of different types on any numbers (https://github.com/yiisoft/yii2/pull/14704#issuecomment-324346969), it is better to have `int` (with @rob006 check) in most situations. On x64 it is insignificant....
> This is undocumented, but OME has the following features: You can play with the RTSP Origin address in the WebRTC URL like this: > > `wss://host:port/rtsp_live/?rtspURI=` Hello! Does this...
What about? ```php SomeRecord::find()->where([SomeRecord::primaryKey()[0] => $pks])->myCondition()->all() ``` I saw no real case to change anything. Maybe, adding some condition syntax like ['#pk#' => [...]] will be better...
@vercotux, i'm neutral to public findByCondition(). But I'm against a bunch of new methods: (and/or)wherePkIs, (and/or)wherePkIsNot... It's redundant.