Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1232-1236 (lines=5) @@
1229
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1230
            $storage[$classPath[1]][] = $this->_params;
1231
        }
1232
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1233
            $moduleConfig['storage'][$appType] = $storage;
1234
        } else {
1235
            $moduleConfig['storage'] = $storage;
1236
        }
1237
        if (empty(static::$storage['options']['share'])) {
1238
            Config::save('module', $moduleConfig, $classPath[0]);
1239
        } else {
@@ 1429-1433 (lines=5) @@
1426
                break;
1427
            }
1428
        }
1429
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1430
            $moduleConfig['storage'][$appType] = $storage;
1431
        } else {
1432
            $moduleConfig['storage'] = $storage;
1433
        }
1434
        if (empty(static::$storage['options']['share'])) {
1435
            Config::save('module', $moduleConfig, $classPath[0]);
1436
        } else {