Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

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