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

Sistema/librerias/rb.php 2 locations

@@ 7456-7469 (lines=14) @@
7453
	 *
7454
	 * @return OODBBean
7455
	 */
7456
	public function dispense( $type, $number = 1, $alwaysReturnArray = FALSE )
7457
	{
7458
		$OODBBEAN = defined( 'REDBEAN_OODBBEAN_CLASS' ) ? REDBEAN_OODBBEAN_CLASS : '\RedBeanPHP\OODBBean';
7459
		$beans = array();
7460
		for ( $i = 0; $i < $number; $i++ ) {
7461
			$bean = new $OODBBEAN;
7462
			$bean->initializeForDispense( $type, $this->oodb->getBeanHelper() );
7463
			$this->check( $bean );
7464
			$this->oodb->signal( 'dispense', $bean );
7465
			$beans[] = $bean;
7466
		}
7467
7468
		return ( count( $beans ) === 1 && !$alwaysReturnArray ) ? array_pop( $beans ) : $beans;
7469
	}
7470
7471
	/**
7472
	 * Loads a bean from the object database.
@@ 7659-7671 (lines=13) @@
7656
	 *
7657
	 * @return OODBBean
7658
	 */
7659
	public function dispense( $type, $number = 1, $alwaysReturnArray = FALSE )
7660
	{
7661
		$OODBBEAN = defined( 'REDBEAN_OODBBEAN_CLASS' ) ? REDBEAN_OODBBEAN_CLASS : '\RedBeanPHP\OODBBean';
7662
		$beans = array();
7663
		for ( $i = 0; $i < $number; $i++ ) {
7664
			$bean = new $OODBBEAN;
7665
			$bean->initializeForDispense( $type, $this->oodb->getBeanHelper() );
7666
			$this->oodb->signal( 'dispense', $bean );
7667
			$beans[] = $bean;
7668
		}
7669
7670
		return ( count( $beans ) === 1 && !$alwaysReturnArray ) ? array_pop( $beans ) : $beans;
7671
	}
7672
7673
	/**
7674
	 * Loads a bean from the object database.