yiisoft/yii2 — pull request #6652 by crtlib (2014-12-26 01:03:42+00:00)
Title: Loose comparison when dirty-checking attributes

In normal scenarios it has more sense than strict comparison. It fixes the problem when an integer attribute being assigned the same value, but as a string (because from a form), is considered dirty.