Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1413-1417 (lines=5) @@
1410
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1411
            $storage[$classPath[1]][] = $this->_params;
1412
        }
1413
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1414
            $moduleConfig['storage'][$appType] = $storage;
1415
        } else {
1416
            $moduleConfig['storage'] = $storage;
1417
        }
1418
        if (empty(static::$storage['options']['share'])) {
1419
            Config::save('module', $moduleConfig, $classPath[0]);
1420
        } else {
@@ 1610-1614 (lines=5) @@
1607
                break;
1608
            }
1609
        }
1610
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1611
            $moduleConfig['storage'][$appType] = $storage;
1612
        } else {
1613
            $moduleConfig['storage'] = $storage;
1614
        }
1615
        if (empty(static::$storage['options']['share'])) {
1616
            Config::save('module', $moduleConfig, $classPath[0]);
1617
        } else {