<commit_before><?php declare(strict_types=1);

namespace Rector\ReflectionDocBlock\DocBlock;

use phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlock\Serializer;
use Symplify\TokenRunner\ReflectionDocBlock\FixedSerializer;

final class TidingSerializer
{
    /**
     * @var FixedSerializer
     */
    private $fixedSerializer;

    public function __construct(FixedSerializer $fixedSerializer)
    {
        $this->fixedSerializer = $fixedSerializer;
    }

    public function getDocComment(DocBlock $docBlock): string<commit_msg>fix cs<commit_after><?php declare(strict_types=1);

namespace Rector\ReflectionDocBlock\DocBlock;

use phpDocumentor\Reflection\DocBlock;
use Symplify\TokenRunner\ReflectionDocBlock\FixedSerializer;

final class TidingSerializer
{
    /**
     * @var FixedSerializer
     */
    private $fixedSerializer;

    public function __construct(FixedSerializer $fixedSerializer)
    {
        $this->fixedSerializer = $fixedSerializer;
    }

    public function getDocComment(DocBlock $docBlock): string
{'fraction_non_alphanumeric': 0.08753568030447194, 'fraction_numerical': 0.0019029495718363464, 'mean_word_length': 4.686486486486486, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2767498', 'n_tokens_mistral': 290, 'n_tokens_neox': 280, 'n_words': 54}