yiisoft/yii2 — pull request #3544 by MDMunir (2014-05-22 11:03:04+00:00)
Title: Add $key to function parameter

I think it's better to enclose `$key` as function parameter.