<commit_before><?php

namespace ZpgRtf\Objects;

/**
 * The listing delete object allows you to remove a listing from a branch's inventory list.
 */
class ListingDeleteObject implements \JsonSerializable
{
    /** @var string */
    private $listingReference;

    /**
     * Enum (withdrawn, offer_accepted, exchanged, completed, let)
     *
     * @var string
     */
    private $deletionReason;

    /**
     * @return string
     */
    public function getListingReference()
    {
        return $this->listingReference;
    }

    /**
     * @param string $listingReference
     *
     * @return ListingDeleteObject
     */
    public function setListingReference($listingReference)
    {
        $this->listingReference = $listingReference;

        return $this;
    }

    /**
     * @return string
     */
    public function getDeletionReason()
    {
        return $this->deletionReason;
    }

    /**
     * @param string $deletionReason
     *
     * @return ListingDeleteObject
     */
    public function setDeletionReason($deletionReason)
    {
        $this->deletionReason = $deletionReason;

        return $this;
    }

    /** {@inheritDoc} */
    public function jsonSerialize()
    {
        return array_filter([
            'listing_reference' => $this->getListingReference(),
            'deletion_reason' => $this->getDeletionReason(),
        ]);<commit_msg>PHP7 for listing delete object<commit_after><?php

namespace ZpgRtf\Objects;

/**
 * The listing delete object allows you to remove a listing from a branch's inventory list.
 */
class ListingDeleteObject implements \JsonSerializable
{
    /** @var null|string */
    private $listingReference;

    /**
     * Enum (withdrawn, offer_accepted, exchanged, completed, let)
     *
     * @var null|string
     */
    private $deletionReason;

    /**
     * @return null|string
     */
    public function getListingReference()
    {
        return $this->listingReference;
    }

    /**
     * @param string $listingReference
     *
     * @return ListingDeleteObject
     */
    public function setListingReference(string $listingReference): self
    {
        $this->listingReference = $listingReference;

        return $this;
    }

    /**
     * @return null|string
     */
    public function getDeletionReason()
    {
        return $this->deletionReason;
    }

    /**
     * @param string $deletionReason
     *
     * @return ListingDeleteObject
     */
    public function setDeletionReason(string $deletionReason): self
    {
        $this->deletionReason = $deletionReason;

        return $this;
    }

    /** {@inheritDoc} */
    public function jsonSerialize(): array
    {
        return array_filter([
            'listing_reference' => $this->getListingReference(),
            'deletion_reason' => $this->getDeletionReason(),
        ]);
{'fraction_non_alphanumeric': 0.11208713984539705, 'fraction_numerical': 0.00035137034434293746, 'mean_word_length': 2.3259345794392523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '956072', 'n_tokens_mistral': 829, 'n_tokens_neox': 776, 'n_words': 177}