Flávio Veloso Soares
Flávio Veloso Soares
This is not limited to relations. I am facing this issue with simple methods returning `yii\db\ActiveQuery`, such as: ```php public static function findBySomething(string $something): \yii\db\ActiveQuery { return self::find() ->where(['something' =>...
This is not only annoying, but it also seems broken: I right-click and I see the "Inspect" item at the bottom, but when I move the mouse to click it,...
I think the program is telling you that **in your example** `$a` is always a string, so your `if` test does make sense (i.e. you're testing for something that is...
Ouch... That explains why many of the sites I use annoyingly lose login sessions and preferences every now and them. Some of then are a PITA to re-setup, taking several...
Not sure if this qualifies as `control-flow` (apologies if it does not), but I can easily replicate the issue with: ```python # func.py def func(moo = None): return -moo if...
Hope this info is useful: just noticed that replacing the second `if` with `elseif` makes the warning go away.