<commit_before><?php

namespace Token\Application\Dto;

use JMS\Serializer\Annotation as Serializer;
use Hateoas\Configuration\Annotation as Hateoas;
use Token\Application\Service\ViewTokenService;

/**
 * @Hateoas\Relation(
 *      "self",
 *      href = @Hateoas\Route(
 *          ViewTokenService::ENDPOINT_NAME,
 *          parameters = {
 *              "tokenId" = "expr(object.id())"
 *          },
 *          absolute = true
 *      )
 * )
 */
class TokenView
{

    protected $id;

    /**
     * @Serializer\Type("DateTime<'c'>")
     * @var \DateTime
     */
    protected $expirationDatetime;

    public function __construct($id, $expirationDatetime)
    {
        $this->id = $id;
        $this->expirationDatetime = $expirationDatetime;
    }

    public function id()
    {
        return $this->id;
    }

    public function expirationDatetime()
    {
        return $this->expirationDatetime;
    }
}<commit_msg>Unused alias to missed dependency (Serializer)<commit_after><?php

namespace Token\Application\Dto;

use Hateoas\Configuration\Annotation as Hateoas;
use Token\Application\Service\ViewTokenService;

/**
 * @Hateoas\Relation(
 *      "self",
 *      href = @Hateoas\Route(
 *          ViewTokenService::ENDPOINT_NAME,
 *          parameters = {
 *              "tokenId" = "expr(object.id())"
 *          },
 *          absolute = true
 *      )
 * )
 */
class TokenView
{

    protected $id;

    /**
     * @Serializer\Type("DateTime<'c'>")
     * @var \DateTime
     */
    protected $expirationDatetime;

    public function __construct($id, $expirationDatetime)
    {
        $this->id = $id;
        $this->expirationDatetime = $expirationDatetime;
    }

    public function id()
    {
        return $this->id;
    }

    public function expirationDatetime()
    {
        return $this->expirationDatetime;
    }
}
{'fraction_non_alphanumeric': 0.13214670981661272, 'fraction_numerical': 0.0, 'mean_word_length': 2.277385159010601, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '4925172', 'n_tokens_mistral': 581, 'n_tokens_neox': 572, 'n_words': 101}