See https://github.com/yiisoft/di/pull/372
See yiisoft/di#372