<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.
 */

namespace Sylius\Bundle\CoreBundle\Model;

use Sylius\Bundle\InventoryBundle\Model\InventoryUnitInterface as BaseInventoryUnitInterface;
use Sylius\Bundle\ShippingBundle\Model\ShipmentItemInterface;

/**
 * Inventory unit interface.
 *
 * @author <NAME> <<EMAIL>>
 */
interface InventoryUnitInterface extends BaseInventoryUnitInterface, ShipmentItemInterface
{
    /**
     * @return null|OrderInterface
     */
    public function getOrderItem();

    /**
     * @param null|OrderInterface $order
     */
    public function setOrderItem(OrderItemInterface $orderItem = null);
}<commit_msg>Fix documentation for OrderItem getter/setter<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.
 */

namespace Sylius\Bundle\CoreBundle\Model;

use Sylius\Bundle\InventoryBundle\Model\InventoryUnitInterface as BaseInventoryUnitInterface;
use Sylius\Bundle\ShippingBundle\Model\ShipmentItemInterface;

/**
 * Inventory unit interface.
 *
 * @author <NAME> <<EMAIL>>
 */
interface InventoryUnitInterface extends BaseInventoryUnitInterface, ShipmentItemInterface
{
    /**
     * @return null|OrderItemInterface
     */
    public function getOrderItem();

    /**
     * @param null|OrderItemInterface $orderItem
     */
    public function setOrderItem(OrderItemInterface $orderItem = null);
}
{'fraction_non_alphanumeric': 0.09652278177458033, 'fraction_numerical': 0.0, 'mean_word_length': 4.215625, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '5450186', 'n_tokens_mistral': 467, 'n_tokens_neox': 463, 'n_words': 128}