Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1456-1460 (lines=5) @@
1453
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1454
            $storage[$classPath[1]][] = $this->_params;
1455
        }
1456
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1457
            $moduleConfig['storage'][$appType] = $storage;
1458
        } else {
1459
            $moduleConfig['storage'] = $storage;
1460
        }
1461
        if (empty(static::$storage['options']['share'])) {
1462
            Config::save('module', $moduleConfig, $classPath[0]);
1463
        } else {
@@ 1661-1665 (lines=5) @@
1658
                break;
1659
            }
1660
        }
1661
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1662
            $moduleConfig['storage'][$appType] = $storage;
1663
        } else {
1664
            $moduleConfig['storage'] = $storage;
1665
        }
1666
        if (empty(static::$storage['options']['share'])) {
1667
            Config::save('module', $moduleConfig, $classPath[0]);
1668
        } else {