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

modules/editor/editor.controller.php 1 location

@@ 56-56 (lines=1) @@
53
		$oComponent = &$oEditorModel->getComponentObject($component);
54
		if(!$oComponent->toBool()) return $oComponent;
55
56
		if(!method_exists($oComponent, $method)) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
57
58
		//$output = call_user_method($method, $oComponent);
59
		//$output = call_user_func(array($oComponent, $method));

modules/editor/editor.model.php 1 location

@@ 550-550 (lines=1) @@
547
			// Create an object of the component and execute
548
			$class_path = sprintf('%scomponents/%s/', $this->module_path, $component);
549
			$class_file = sprintf('%s%s.class.php', $class_path, $component);
550
			if(!file_exists($class_file)) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
551
			// Create an object after loading the class file
552
			require_once($class_file);
553
			$oComponent = new $component($editor_sequence, $class_path);