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

protected/extensions/elFinder/php/elFinder.class.php 3 locations

@@ 627-635 (lines=9) @@
624
	 * @return array
625
	 * @author Dmitry (dio) Levashov
626
	 **/
627
	protected function ls($args) {
628
		$target = $args['target'];
629
		
630
		if (($volume = $this->volume($target)) == false
631
		|| ($list = $volume->ls($target)) === false) {
632
			return array('error' => $this->error(self::ERROR_OPEN, '#'.$target));
633
		}
634
		return array('list' => $list);
635
	}
636
	
637
	/**
638
	 * Return subdirs for required directory
@@ 644-653 (lines=10) @@
641
	 * @return array
642
	 * @author Dmitry (dio) Levashov
643
	 **/
644
	protected function tree($args) {
645
		$target = $args['target'];
646
		
647
		if (($volume = $this->volume($target)) == false
648
		|| ($tree = $volume->tree($target)) == false) {
649
			return array('error' => $this->error(self::ERROR_OPEN, '#'.$target));
650
		}
651
652
		return array('tree' => $tree);
653
	}
654
	
655
	/**
656
	 * Return parents dir for required directory
@@ 662-671 (lines=10) @@
659
	 * @return array
660
	 * @author Dmitry (dio) Levashov
661
	 **/
662
	protected function parents($args) {
663
		$target = $args['target'];
664
		
665
		if (($volume = $this->volume($target)) == false
666
		|| ($tree = $volume->parents($target)) == false) {
667
			return array('error' => $this->error(self::ERROR_OPEN, '#'.$target));
668
		}
669
670
		return array('tree' => $tree);
671
	}
672
	
673
	/**
674
	 * Return new created thumbnails list