Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1280-1284 (lines=5) @@
1277
      $storage['scheme'][$classPath[1]]['ai'] = $id + 1;
1278
      $storage[$classPath[1]][] = $this->_params;
1279
    }
1280
    if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1281
      $moduleConfig['storage'][$appType] = $storage;
1282
    } else {
1283
      $moduleConfig['storage'] = $storage;
1284
    }
1285
    if (empty(static::$storage['options']['share'])) {
1286
      Config::save('module', $moduleConfig, $classPath[0]);
1287
    } else {
@@ 1477-1481 (lines=5) @@
1474
        break;
1475
      }
1476
    }
1477
    if (!empty($moduleConfig['storage']['appTypeSplit'])) {
1478
      $moduleConfig['storage'][$appType] = $storage;
1479
    } else {
1480
      $moduleConfig['storage'] = $storage;
1481
    }
1482
    if (empty(static::$storage['options']['share'])) {
1483
      Config::save('module', $moduleConfig, $classPath[0]);
1484
    } else {