<commit_before><?php
/**
 * @author <NAME> <<EMAIL>>
 */
namespace Tigris\Types;

use Tigris\Types\Base\BaseObject;
use Tigris\Types\Scalar\ScalarInteger;
use Tigris\Types\Scalar\ScalarString;

/**
 * Class User
 * @package Tigris\Types
 *
 * @property ScalarInteger $id
 * @property ScalarString $first_name
 * @property ScalarString $last_name
 * @property ScalarString $username
 */
class User extends BaseObject
{
    protected static function fields()
    {
        return [
            'id' => ScalarInteger::class,
            'first_name' => ScalarString::class,
            'last_name' => ScalarString::class,
            'username' => ScalarString::class,
        ];
    }
}<commit_msg>updated User type phpdoc<commit_after><?php
/**
 * @author <NAME> <<EMAIL>>
 */
namespace Tigris\Types;

use Tigris\Types\Base\BaseObject;
use Tigris\Types\Scalar\ScalarInteger;
use Tigris\Types\Scalar\ScalarString;

/**
 * Class User
 * This object represents a Telegram user or bot.
 *
 * @package Tigris\Types
 * @link https://core.telegram.org/bots/api#user
 *
 * @property ScalarInteger $id
 * @property ScalarString $first_name
 * @property ScalarString $last_name
 * @property ScalarString $username
 */
class User extends BaseObject
{
    /**
     * @inheritdoc
     */
    protected static function fields()
    {
        return [
            'id' => ScalarInteger::class,
            'first_name' => ScalarString::class,
            'last_name' => ScalarString::class,
            'username' => ScalarString::class,
        ];
    }

    /**
     * @inheritdoc
     */
    protected static function requiredFields()
    {
        return [
            'id',
            'first_name',
        ];
    }
}
{'fraction_non_alphanumeric': 0.13005272407732865, 'fraction_numerical': 0.0, 'mean_word_length': 2.6417910447761193, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 1, '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': '4695520', 'n_tokens_mistral': 525, 'n_tokens_neox': 513, 'n_words': 112}