<commit_before><?php
/**
 * File Response.php
 *
 * @author <NAME> <<EMAIL>>
 */

namespace DLinsmeyer\Bundle\ApiBundle\Response\Model;

use JMS\Serializer\Annotation as Serializer;

/**
 * Class Response
 *
 * @package DLinsmeyer\Response
 * @author <NAME> <<EMAIL>>
 *
 * @Serializer\ExclusionPolicy("ALL")
 */
class Response implements ResponseInterface
{
    /**
     * @Serializer\Expose
     * @Serializer\Since("1.0")
     *
     * @var bool
     */
    private $success;

    /**
     * @Serializer\Expose
     * @Serializer\Since("1.0")
     *
     * @var int
     */
    private $code;

    /**
     * @Serializer\Expose
     * @Serializer\Since("1.0")
     *<commit_msg>Adding type annotations to response<commit_after><?php
/**
 * File Response.php
 *
 * @author <NAME> <<EMAIL>>
 */

namespace DLinsmeyer\Bundle\ApiBundle\Response\Model;

use JMS\Serializer\Annotation as Serializer;

/**
 * Class Response
 *
 * @package DLinsmeyer\Response
 * @author <NAME> <<EMAIL>>
 *
 * @Serializer\ExclusionPolicy("ALL")
 */
class Response implements ResponseInterface
{
    /**
     * @Serializer\Expose
     * @Serializer\Since("1.0")
     * @Serializer\Type("boolean")
     *
     * @var bool
     */
    private $success;

    /**
     * @Serializer\Expose
     * @Serializer\Since("1.0")
     * @Serializer\Type("integer")
     *
     * @var int
     */
    private $code;

    /**
     * @Serializer\Expose
     * @Serializer\Since("1.0")
     * @Serializer\Type("string")
     *
{'fraction_non_alphanumeric': 0.16599462365591397, 'fraction_numerical': 0.008064516129032258, 'mean_word_length': 2.5536992840095465, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '1460622', 'n_tokens_mistral': 487, 'n_tokens_neox': 482, 'n_words': 83}