break if a matching trusted host is found
break if a matching trusted host is found

fix for https://github.com/yiisoft/yii2/pull/13780#discussion_r134186910
thanks to @krukru !

PR #13780

yiisoft/yii2-framework,yiisoft/yii2-framework