<commit_before><?php

namespace api\modules\api\v1\controllers;

use yii\base\Module;
use yii\web\Request;
use api\modules\api\v1\models\AccessToken;
use api\modules\api\v1\models\ClientCredentials;
use api\modules\api\v1\models\resource\AccessTokenResource;
use api\modules\api\v1\services\OAuthInterface;

class OAuthController extends BaseController
{
    /**
     * @var string
     */
    public $modelClass = 'api\modules\api\v1\models\AccessToken';

    /**
     * @var OAuthInterface
     */
    protected $oauthService;

    /**
     * InstanceController constructor.
     *
     * @param string $id
     * @param Module $module
     * @param OAuthInterface $oauthService
     * @param array $config
     */
    public function __construct(
        $id,<commit_msg>Added doc string on OAuth controller.<commit_after><?php

namespace api\modules\api\v1\controllers;

use yii\base\Module;
use yii\web\Request;
use api\modules\api\v1\models\AccessToken;
use api\modules\api\v1\models\ClientCredentials;
use api\modules\api\v1\models\resource\AccessTokenResource;
use api\modules\api\v1\services\OAuthInterface;

/**
 * Class OAuthController
 *
 * @package api\modules\api\v1\controllers
 */
class OAuthController extends BaseController
{
    /**
     * @var string
     */
    public $modelClass = 'api\modules\api\v1\models\AccessToken';

    /**
     * @var OAuthInterface
     */
    protected $oauthService;

    /**
     * InstanceController constructor.
     *
     * @param string $id
     * @param Module $module
     * @param OAuthInterface $oauthService
     * @param array $config
     */
    public function __construct(
        $id,
{'fraction_non_alphanumeric': 0.11871592973955179, 'fraction_numerical': 0.007874015748031496, 'mean_word_length': 2.9903381642512077, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7480985', 'n_tokens_mistral': 522, 'n_tokens_neox': 523, 'n_words': 100}