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

classes/db/DBCubrid.class.php 1 location

@@ 1079-1091 (lines=13) @@
1076
		}
1077
1078
		// check the page variables
1079
		if($page > $total_page)
1080
		{
1081
			// If requested page is bigger than total number of pages, return empty list
1082
1083
			$buff = new BaseObject();
1084
			$buff->total_count = $total_count;
1085
			$buff->total_page = $total_page;
1086
			$buff->page = $page;
1087
			$buff->data = array();
1088
			$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
1089
			unset($this->param);
1090
			return $buff;
1091
		}
1092
		$start_count = ($page - 1) * $list_count;
1093
1094
		$query = $this->getSelectPageSql($queryObject, $with_values, $start_count, $list_count);

classes/db/DBMysql.class.php 1 location

@@ 791-801 (lines=11) @@
788
		}
789
790
		// check the page variables
791
		if($page > $total_page)
792
		{
793
			// If requested page is bigger than total number of pages, return empty list
794
			$buff = new BaseObject();
795
			$buff->total_count = $total_count;
796
			$buff->total_page = $total_page;
797
			$buff->page = $page;
798
			$buff->data = array();
799
			$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
800
			return $buff;
801
		}
802
		$start_count = ($page - 1) * $list_count;
803
804
		$query = $this->getSelectPageSql($queryObject, $with_values, $start_count, $list_count);