GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 4-4 lines in 2 locations

modules/document/document.controller.php 1 location

@@ 2527-2530 (lines=4) @@
2524
			$oDocumentController=getController('document');
2525
			foreach($obj->moduleSrlList AS $key=>$value)
2526
			{
2527
				foreach($documentExtraKeys AS $extraItem)
2528
				{
2529
					$oDocumentController->insertDocumentExtraKey($value, $extraItem->idx, $extraItem->name, $extraItem->type, $extraItem->is_required , $extraItem->search , $extraItem->default , $extraItem->desc, $extraItem->eid) ;
2530
				}
2531
			}
2532
		}
2533
	}

modules/module/module.class.php 1 location

@@ 252-255 (lines=4) @@
249
					// Register keys for document extra vars
250
					if(count($document_extra_keys))
251
					{
252
						foreach($document_extra_keys as $var_idx => $val)
253
						{
254
							$oDocumentController->insertDocumentExtraKey($module_srl, $var_idx, $val->name, $val->type, $val->is_required, $val->search, $val->default, $val->desc, 'extra_vars'.$var_idx);
255
						}
256
						// 2009-04-14 Fixed a bug that only 100 extra vars are moved
257
						$oDocumentModel = getModel('document');
258
						$total_count = $oDocumentModel->getDocumentCount($module_srl);