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

Sistema/librerias/rb.php 2 locations

@@ 5572-5589 (lines=18) @@
5569
	/**
5570
	 * @see QueryWriter::code
5571
	 */
5572
	public function code( $typedescription, $includeSpecials = FALSE )
5573
	{
5574
		if ( isset( $this->sqltype_typeno[$typedescription] ) ) {
5575
			$r = $this->sqltype_typeno[$typedescription];
5576
		} else {
5577
			$r = self::C_DATATYPE_SPECIFIED;
5578
		}
5579
5580
		if ( $includeSpecials ) {
5581
			return $r;
5582
		}
5583
5584
		if ( $r >= QueryWriter::C_DATATYPE_RANGE_SPECIAL ) {
5585
			return self::C_DATATYPE_SPECIFIED;
5586
		}
5587
5588
		return $r;
5589
	}
5590
5591
	/**
5592
	 * @see QueryWriter::addUniqueIndex
@@ 6392-6403 (lines=12) @@
6389
	/**
6390
	 * @see QueryWriter::code
6391
	 */
6392
	public function code( $typedescription, $includeSpecials = FALSE )
6393
	{
6394
		$r = ( isset( $this->sqltype_typeno[$typedescription] ) ) ? $this->sqltype_typeno[$typedescription] : 99;
6395
6396
		if ( $includeSpecials ) return $r;
6397
6398
		if ( $r >= QueryWriter::C_DATATYPE_RANGE_SPECIAL ) {
6399
			return self::C_DATATYPE_SPECIFIED;
6400
		}
6401
6402
		return $r;
6403
	}
6404
6405
	/**
6406
	 * @see QueryWriter::widenColumn