Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1176-1180 (lines=5) @@
1173
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1174
            $storage[$classPath[1]][] = $this->_params;
1175
        }
1176
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1177
            $moduleConfig['storage'][$appType] = $storage;
1178
        } else {
1179
            $moduleConfig['storage'] = $storage;
1180
        }
1181
        if (empty(static::$storage['options']['share'])) {
1182
            Config::save('module', $moduleConfig, $classPath[0]);
1183
        } else {
@@ 1373-1377 (lines=5) @@
1370
                break;
1371
            }
1372
        }
1373
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1374
            $moduleConfig['storage'][$appType] = $storage;
1375
        } else {
1376
            $moduleConfig['storage'] = $storage;
1377
        }
1378
        if (empty(static::$storage['options']['share'])) {
1379
            Config::save('module', $moduleConfig, $classPath[0]);
1380
        } else {