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 = 10-10 lines in 2 locations

modules/comment/comment.controller.php 1 location

@@ 1119-1128 (lines=10) @@
1116
		$oDB->begin();
1117
1118
		// update the number of votes
1119
		if($trigger_obj->update_target === 'blamed_count')
1120
		{
1121
			$args->blamed_count = $trigger_obj->after_point;
1122
			$output = executeQuery('comment.updateBlamedCount', $args);
1123
		}
1124
		else
1125
		{
1126
			$args->voted_count = $trigger_obj->after_point;
1127
			$output = executeQuery('comment.updateVotedCount', $args);
1128
		}
1129
1130
		// leave logs
1131
		$args->point = $trigger_obj->point;

modules/document/document.controller.php 1 location

@@ 1143-1152 (lines=10) @@
1140
		$oDB->begin();
1141
1142
		// Update the voted count
1143
		if($trigger_obj->update_target === 'blamed_count')
1144
		{
1145
			$args->blamed_count = $trigger_obj->after_point;
1146
			$output = executeQuery('document.updateBlamedCount', $args);
1147
		}
1148
		else
1149
		{
1150
			$args->voted_count = $trigger_obj->after_point;
1151
			$output = executeQuery('document.updateVotedCount', $args);
1152
		}
1153
		if(!$output->toBool()) return $output;
1154
1155
		// Leave logs