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

src/Resources/contao/dca/tl_belegungsplan_calender.php 1 location

@@ 163-183 (lines=21) @@
160
 *
161
 * @author Jan Karai <https://www.sachsen-it.de>
162
 */
163
class tl_belegungsplan_calender extends Backend
164
{
165
	 /**
166
	 * Import the back end user object
167
	 */
168
	public function __construct() {
169
		parent::__construct();
170
		$this->import('BackendUser', 'User');
171
	}
172
	/**
173
	* Add the type of input field
174
	*
175
	* @param array $arrRow
176
	*
177
	* @return string
178
	*/
179
	public function listCalender($arrRow)
180
	{
181
		return '<div class="tl_content_left">' . $arrRow['gast'] . ' <span style="color:#999;padding-left:3px">[' . Date::parse(Config::get('dateFormat'), $arrRow['startDate']) . $GLOBALS['TL_LANG']['MSC']['cal_timeSeparator'] . Date::parse(Config::get('dateFormat'), $arrRow['endDate']) . ']</span></div>';
182
	}
183
}
184

src/Resources/contao/dca/tl_belegungsplan_category.php 1 location

@@ 163-184 (lines=22) @@
160
 *
161
 * @author Jan Karai <https://www.sachsen-it.de>
162
 */
163
class tl_belegungsplan_calender extends Backend
164
{
165
	/**
166
	* Import the back end user object
167
	*/
168
	public function __construct() {
169
		parent::__construct();
170
		$this->import('BackendUser', 'User');
171
	}
172
	
173
	/**
174
	* Add the type of input field
175
	*
176
	* @param array $arrRow
177
	*
178
	* @return string
179
	*/
180
	public function listCalender($arrRow)
181
	{
182
		return '<div class="tl_content_left">' . $arrRow['gast'] . ' <span style="color:#999;padding-left:3px">[' . Date::parse(Config::get('dateFormat'), $arrRow['startDate']) . $GLOBALS['TL_LANG']['MSC']['cal_timeSeparator'] . Date::parse(Config::get('dateFormat'), $arrRow['endDate']) . ']</span></div>';
183
	}
184
}
185