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

modules/layout/layout.model.php 2 locations

@@ 136-149 (lines=14) @@
133
134
		// Create instance name list
135
		$instanceList = array();
136
		if(is_array($output->data))
137
		{
138
			foreach($output->data as $no => $iInfo)
139
			{
140
				if($this->isExistsLayoutFile($iInfo->layout, $layoutType))
141
				{
142
					$instanceList[] = $iInfo->layout;
143
				}
144
				else
145
				{
146
					unset($output->data[$no]);
147
				}
148
			}
149
		}
150
151
		// Create downloaded name list
152
		$downloadedList = array();
@@ 204-213 (lines=10) @@
201
		{
202
			$output = executeQueryArray('layout.getLayoutList', $args, $columnList);
203
204
			if(is_array($output->data))
205
			{
206
				foreach($output->data as $no => $iInfo)
207
				{
208
					if(!$this->isExistsLayoutFile($iInfo->layout, $layoutType))
209
					{
210
						unset($output->data[$no]);
211
					}
212
				}
213
			}
214
		}
215
216
		return $output->data;