staabm/phpstan-dba

narrow values on join conditions

staabm opened this issue · 0 comments

in a query like 'SELECT eladaid, akid from ada join ak on (adaid = eladaid)'
a bigger range value can be narrowed to a smaller comparing one.

in this case: eladaid could be narrowed to the type of adaid