Code Duplication    Length = 5-5 lines in 2 locations

View.php 2 locations

@@ 170-174 (lines=5) @@
167
        $this->trigger(self::EVENT_END_BODY);
168
        echo self::PH_BODY_END;
169
170
        foreach (array_keys($this->assetBundles) as $bundle) {
171
            if (!in_array($bundle, $this->excludeBundles, true)) {
172
                $this->registerAssetFiles($bundle);
173
            }
174
        }
175
176
        if (true === $this->enableMinify) {
177
            (new components\CSS($this))->export();
@@ 181-185 (lines=5) @@
178
            (new components\JS($this))->export();
179
        }
180
181
        foreach (array_keys($this->assetBundles) as $bundle) {
182
            if (in_array($bundle, $this->excludeBundles, true)) {
183
                $this->registerAssetFiles($bundle);
184
            }
185
        }
186
    }
187
}
188