I'd use \Yii::app()->clientScript->remapCssUrls directly here (skipping the variable assignment) since the variable is only used here.