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

myth/Auth/FlatAuthorization.php 2 locations

@@ 590-609 (lines=20) @@
587
	 *
588
	 * @return mixed
589
	 */
590
	public function updateGroup( $id, $name, $description = '' )
591
	{
592
		$data = [
593
			'name' => $name
594
		];
595
596
		if ( ! empty( $description ) )
597
		{
598
			$data['description'] = $description;
599
		}
600
601
		if ( ! $this->groupModel->update( (int) $id, $data ) )
602
		{
603
			$this->error = $this->groupModel->error();
604
605
			return FALSE;
606
		}
607
608
		return TRUE;
609
	}
610
611
	//--------------------------------------------------------------------
612
@@ 739-758 (lines=20) @@
736
	 *
737
	 * @return bool
738
	 */
739
	public function updatePermission( $id, $name, $description = '' )
740
	{
741
		$data = [
742
			'name' => $name
743
		];
744
745
		if ( ! empty( $description ) )
746
		{
747
			$data['description'] = $description;
748
		}
749
750
		if ( ! $this->permissionModel->update( (int) $id, $data ) )
751
		{
752
			$this->error = $this->permissionModel->error();
753
754
			return FALSE;
755
		}
756
757
		return TRUE;
758
	}
759
760
	//--------------------------------------------------------------------
761