original_string: final public function findUser(Userinfo $userinfo)
  	{
  		$userloopup = $this->lookupUser($userinfo);
  		if ($userloopup instanceof Userinfo) {
  			$user = $this->getUser($userloopup);
  		} else {
  			$user = $this->getUser($userinfo);
  			if ($user instanceof Userinfo) {
  				/**
  				 * TODO: determine if the update lookup should really be here or not.
  				 */
  				$this->updateLookup($user, $userinfo);
  			}
  		}
  		return $user;
  	}
code: final public function findUser(Userinfo $userinfo)
  	{
  		$userloopup = $this->lookupUser($userinfo);
  		if ($userloopup instanceof Userinfo) {
  			$user = $this->getUser($userloopup);
  		} else {
  			$user = $this->getUser($userinfo);
  			if ($user instanceof Userinfo) {
  				/**
  				 * TODO: determine if the update lookup should really be here or not.
  				 */
  				$this->updateLookup($user, $userinfo);
  			}
  		}
  		return $user;
  	}
code_tokens: final public function findUser ( Userinfo $ userinfo ) { $ userloopup = $ this -> lookupUser ( $ userinfo ) ; if ( $ userloopup instanceof Userinfo ) { $ user = $ this -> getUser ( $ userloopup ) ; } else { $ user = $ this -> getUser ( $ userinfo ) ; if ( $ user instanceof Userinfo ) { /**
  				 * TODO: determine if the update lookup should really be here or not.
  				 */ $ this -> updateLookup ( $ user , $ userinfo ) ; } } return $ user ; }
docstring: Gets the userinfo from the JFusion integrated software. it uses the lookup function
  
  @param Userinfo $userinfo contains the object of the user
  
  @return null|Userinfo Userinfo containing the user information
docstring_tokens: Gets the userinfo from the JFusion integrated software . it uses the lookup function