yiisoft/yii2 — pull request #5503 by olegtsvetkov (2014-10-12 17:43:25+00:00)
Title: Removed useless type check in yii\i18n\Formatter.

DateTime class implements DateTimeInterface, so we don't need to check if variable is an instance of DateTime and check only for DateTimeInterface.