original_string: public function attempt(array $credentials) {
      $user = $this->users->retrieveByCredentials($credentials);
  
      if($user instanceof UserInterface && $this->users->validateCredentials($user, $credentials)) {
         return $this->create($user);
      }
  
      return false;
    }
code: public function attempt(array $credentials) {
      $user = $this->users->retrieveByCredentials($credentials);
  
      if($user instanceof UserInterface && $this->users->validateCredentials($user, $credentials)) {
         return $this->create($user);
      }
  
      return false;
    }
code_tokens: public function attempt ( array $ credentials ) { $ user = $ this -> users -> retrieveByCredentials ( $ credentials ) ; if ( $ user instanceof UserInterface && $ this -> users -> validateCredentials ( $ user , $ credentials ) ) { return $ this -> create ( $ user ) ; } return false ; }
docstring: Attempt to create an AuthToken from user credentials.
  
  @param array $credentials
  @return bool|AuthToken
docstring_tokens: Attempt to create an AuthToken from user credentials .