Code Duplication    Length = 5-5 lines in 2 locations

View.php 2 locations

@@ 161-165 (lines=5) @@
158
        $this->trigger(self::EVENT_END_BODY);
159
        echo self::PH_BODY_END;
160
161
        foreach (array_keys($this->assetBundles) as $bundle) {
162
            if (!in_array($bundle, $this->excludeBundles, true)) {
163
                $this->registerAssetFiles($bundle);
164
            }
165
        }
166
167
        if (true === $this->enableMinify) {
168
            (new components\CSS($this))->export();
@@ 172-176 (lines=5) @@
169
            (new components\JS($this))->export();
170
        }
171
172
        foreach (array_keys($this->assetBundles) as $bundle) {
173
            if (in_array($bundle, $this->excludeBundles, true)) {
174
                $this->registerAssetFiles($bundle);
175
            }
176
        }
177
    }
178
}
179