<commit_before><?php

/*
 * OAuth2 Client Bundle
 * Copyright (c) KnpUniversity <http://knpuniversity.com/>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace KnpU\OAuth2ClientBundle\Client\Provider;

use KnpU\OAuth2ClientBundle\Client\OAuth2Client;
use League\OAuth2\Client\Token\AccessToken;

/**
 * GitlabClient.
 *
 * @author <NAME> <<EMAIL>>
 */
class GitlabClient extends OAuth2Client
{
    /**
     * @param AccessToken $accessToken
     * @return GitlabResourceOwner
     */
    public function fetchUserFromToken(AccessToken $accessToken)
    {
        return parent::fetchUserFromToken($accessToken);
    }

    /**
     * @return GitlabResourceOwner
     */
    public function fetchUser()
    {
        return parent::fetchUser();
    }
}
<commit_msg>Fix missing GitlabResourceOwner namespace use<commit_after><?php

/*
 * OAuth2 Client Bundle
 * Copyright (c) KnpUniversity <http://knpuniversity.com/>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace KnpU\OAuth2ClientBundle\Client\Provider;

use KnpU\OAuth2ClientBundle\Client\OAuth2Client;
use League\OAuth2\Client\Token\AccessToken;
use Omines\OAuth2\Client\Provider\GitlabResourceOwner;

/**
 * GitlabClient.
 *
 * @author <NAME> <<EMAIL>>
 */
class GitlabClient extends OAuth2Client
{
    /**
     * @param AccessToken $accessToken
     * @return GitlabResourceOwner
     */
    public function fetchUserFromToken(AccessToken $accessToken)
    {
        return parent::fetchUserFromToken($accessToken);
    }

    /**
     * @return GitlabResourceOwner
     */
    public function fetchUser()
    {
        return parent::fetchUser();
    }
}

{'fraction_non_alphanumeric': 0.10605219322598557, 'fraction_numerical': 0.007218212104386452, 'mean_word_length': 3.4714640198511164, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7133211', 'n_tokens_mistral': 540, 'n_tokens_neox': 531, 'n_words': 124}