Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1426-1430 (lines=5) @@
1423
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1424
            $storage[$classPath[1]][] = $this->_params;
1425
        }
1426
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1427
            $moduleConfig['storage'][$appType] = $storage;
1428
        } else {
1429
            $moduleConfig['storage'] = $storage;
1430
        }
1431
        if (empty(static::$storage['options']['share'])) {
1432
            Config::save('module', $moduleConfig, $classPath[0]);
1433
        } else {
@@ 1627-1631 (lines=5) @@
1624
                break;
1625
            }
1626
        }
1627
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1628
            $moduleConfig['storage'][$appType] = $storage;
1629
        } else {
1630
            $moduleConfig['storage'] = $storage;
1631
        }
1632
        if (empty(static::$storage['options']['share'])) {
1633
            Config::save('module', $moduleConfig, $classPath[0]);
1634
        } else {