Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1422-1426 (lines=5) @@
1419
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1420
            $storage[$classPath[1]][] = $this->_params;
1421
        }
1422
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1423
            $moduleConfig['storage'][$appType] = $storage;
1424
        } else {
1425
            $moduleConfig['storage'] = $storage;
1426
        }
1427
        if (empty(static::$storage['options']['share'])) {
1428
            Config::save('module', $moduleConfig, $classPath[0]);
1429
        } else {
@@ 1623-1627 (lines=5) @@
1620
                break;
1621
            }
1622
        }
1623
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1624
            $moduleConfig['storage'][$appType] = $storage;
1625
        } else {
1626
            $moduleConfig['storage'] = $storage;
1627
        }
1628
        if (empty(static::$storage['options']['share'])) {
1629
            Config::save('module', $moduleConfig, $classPath[0]);
1630
        } else {