<commit_before><?php
namespace inklabs\kommerce\View;

use inklabs\kommerce\Entity;
use inklabs\kommerce\Lib;
use inklabs\kommerce\Service\Pricing;

class CartItemOptionProduct implements ViewInterface
{
    /** @var int */
    public $id;

    /** @var int */
    public $created;

    /** @var int */
    public $updated;

    /** @var OptionProduct */
    public $optionProduct;

    public function __construct(Entity\CartItemOptionProduct $cartItemOptionProduct)
    {
        $this->cartItemOptionProduct = $cartItemOptionProduct;

        $this->id      = $cartItemOptionProduct->getId();
        $this->created = $cartItemOptionProduct->getCreated();
        $this->updated = $cartItemOptionProduct->getUpdated();

        $this->optionProduct = $cartItemOptionProduct->getOptionProduct()->getView()->export();
    }

    public function export()
    {
        unset($this->cartItemOptionProduct);
        return $this;
    }

    public function withOptionProduct()
    {
        $this->optionProduct = $this->cartItemOptionProduct->getOptionProduct()->getView()
            ->export();

        return $this;
    }

    public function withAllData()
    {
        return $this
            ->withOptionProduct();
    }}<commit_msg>Fixing PSR2 typo.<commit_after><?php
namespace inklabs\kommerce\View;

use inklabs\kommerce\Entity;
use inklabs\kommerce\Lib;
use inklabs\kommerce\Service\Pricing;

class CartItemOptionProduct implements ViewInterface
{
    /** @var int */
    public $id;

    /** @var int */
    public $created;

    /** @var int */
    public $updated;

    /** @var OptionProduct */
    public $optionProduct;

    public function __construct(Entity\CartItemOptionProduct $cartItemOptionProduct)
    {
        $this->cartItemOptionProduct = $cartItemOptionProduct;

        $this->id      = $cartItemOptionProduct->getId();
        $this->created = $cartItemOptionProduct->getCreated();
        $this->updated = $cartItemOptionProduct->getUpdated();

        $this->optionProduct = $cartItemOptionProduct->getOptionProduct()->getView()->export();
    }

    public function export()
    {
        unset($this->cartItemOptionProduct);
        return $this;
    }

    public function withOptionProduct()
    {
        $this->optionProduct = $this->cartItemOptionProduct->getOptionProduct()->getView()
            ->export();

        return $this;
    }

    public function withAllData()
    {
        return $this
            ->withOptionProduct();
    }
}
{'fraction_non_alphanumeric': 0.12917505030181087, 'fraction_numerical': 0.00040241448692152917, 'mean_word_length': 2.830508474576271, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 39, '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': '5917893', 'n_tokens_mistral': 707, 'n_tokens_neox': 692, 'n_words': 128}