Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1194-1198 (lines=5) @@
1191
            $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1192
            $storage[$classPath[1]][] = $this->_params;
1193
        }
1194
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1195
            $moduleConfig['storage'][$appType] = $storage;
1196
        } else {
1197
            $moduleConfig['storage'] = $storage;
1198
        }
1199
        if (empty(static::$storage['options']['share'])) {
1200
            Config::save('module', $moduleConfig, $classPath[0]);
1201
        } else {
@@ 1391-1395 (lines=5) @@
1388
                break;
1389
            }
1390
        }
1391
        if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1392
            $moduleConfig['storage'][$appType] = $storage;
1393
        } else {
1394
            $moduleConfig['storage'] = $storage;
1395
        }
1396
        if (empty(static::$storage['options']['share'])) {
1397
            Config::save('module', $moduleConfig, $classPath[0]);
1398
        } else {