original_string: public function getUser($credentials, UserProviderInterface $userProvider)
      {
          if (isset($credentials[$this->username_attribute])) {
              return $userProvider->loadUserByUsername($credentials[$this->username_attribute]);
          } else {
              return null;
          }
      }
code: public function getUser($credentials, UserProviderInterface $userProvider)
      {
          if (isset($credentials[$this->username_attribute])) {
              return $userProvider->loadUserByUsername($credentials[$this->username_attribute]);
          } else {
              return null;
          }
      }
code_tokens: public function getUser ( $ credentials , UserProviderInterface $ userProvider ) { if ( isset ( $ credentials [ $ this -> username_attribute ] ) ) { return $ userProvider -> loadUserByUsername ( $ credentials [ $ this -> username_attribute ] ) ; } else { return null ; } }
docstring: Calls the UserProvider providing a valid User
  @param array $credentials
  @param UserProviderInterface $userProvider
  @return bool
docstring_tokens: Calls the UserProvider providing a valid User