<commit_before><?php
namespace Granam\Integer;

use Granam\Integer\Tools\ToInteger;
use Granam\Number\PositiveNumberObject;

class PositiveIntegerObject extends PositiveNumberObject implements PositiveInteger
{

    /**
     * @param mixed $value
     * @param bool $strict = true allows only explicit values, not null and empty string
     * @param bool $paranoid Throws exception if some value is lost on cast because of rounding
     * @throws \Granam\Integer\Tools\Exceptions\PositiveIntegerCanNotBeNegative<commit_msg>Positive integer object got annotation about value getter return value for better support by IDE<commit_after><?php
namespace Granam\Integer;

use Granam\Integer\Tools\ToInteger;
use Granam\Number\PositiveNumberObject;

/**
 * @method int getValue()
 */
class PositiveIntegerObject extends PositiveNumberObject implements PositiveInteger
{

    /**
     * @param mixed $value
     * @param bool $strict = true allows only explicit values, not null and empty string
     * @param bool $paranoid Throws exception if some value is lost on cast because of rounding
     * @throws \Granam\Integer\Tools\Exceptions\PositiveIntegerCanNotBeNegative
{'fraction_non_alphanumeric': 0.06964746345657781, 'fraction_numerical': 0.0, 'mean_word_length': 4.6231884057971016, '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': '6257636', 'n_tokens_mistral': 311, 'n_tokens_neox': 293, 'n_words': 108}