Code Duplication    Length = 3-3 lines in 2 locations

plugins/CMS/src/Core/Package/PluginPackage.php 2 locations

@@ 263-265 (lines=3) @@
260
    public function composer($full = false)
261
    {
262
        $composer = parent::composer($full);
263
        if ($this->isTheme && !isset($composer['extra']['admin'])) {
264
            $composer['extra']['admin'] = false;
265
        }
266
        if ($this->isTheme && !isset($composer['extra']['regions'])) {
267
            $composer['extra']['regions'] = [];
268
        }
@@ 266-268 (lines=3) @@
263
        if ($this->isTheme && !isset($composer['extra']['admin'])) {
264
            $composer['extra']['admin'] = false;
265
        }
266
        if ($this->isTheme && !isset($composer['extra']['regions'])) {
267
            $composer['extra']['regions'] = [];
268
        }
269
270
        return $composer;
271
    }