<commit_before><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Sylius\Component\Shipping\Model;

use Sylius\Component\Resource\Model\AbstractTranslation;

class ShippingMethodTranslation extends AbstractTranslation implements ShippingMethodTranslationInterface
{
    /** @var mixed */
    protected $id;

    /** @var string */
    protected $name;

    /** @var string */
    protected $description;

    public function __toString(): string
    {<commit_msg>[Psalm] Treat MissingConstructor as error<commit_after><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Sylius\Component\Shipping\Model;

use Sylius\Component\Resource\Model\AbstractTranslation;

class ShippingMethodTranslation extends AbstractTranslation implements ShippingMethodTranslationInterface
{
    /** @var mixed */
    protected $id;

    /** @var string|null */
    protected $name;

    /** @var string|null */
    protected $description;

    public function __toString(): string
    {
{'fraction_non_alphanumeric': 0.09806835066864784, 'fraction_numerical': 0.0014858841010401188, 'mean_word_length': 3.862815884476534, 'pattern_counts': {'":': 0, '<': 7, '<?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': '910750', 'n_tokens_mistral': 367, 'n_tokens_neox': 353, 'n_words': 118}