Code Duplication    Length = 9-9 lines in 3 locations

src/MetadataV3/mapping/cs/TAssociationSetMappingType.php 1 location

@@ 131-139 (lines=9) @@
128
     * @param string $storeEntitySet
129
     * @return self
130
     */
131
    public function setStoreEntitySet($storeEntitySet)
132
    {
133
        if (null != $storeEntitySet && !$this->isStringNotNullOrEmpty($storeEntitySet)) {
134
            $msg = 'Store entity set cannot be empty';
135
            throw new \InvalidArgumentException($msg);
136
        }
137
        $this->storeEntitySet = $storeEntitySet;
138
        return $this;
139
    }
140
141
    /**
142
     * Gets as queryView

src/MetadataV3/mapping/cs/TEntitySetMappingType.php 1 location

@@ 122-130 (lines=9) @@
119
     * @param string $storeEntitySet
120
     * @return self
121
     */
122
    public function setStoreEntitySet($storeEntitySet)
123
    {
124
        if (null != $storeEntitySet && !$this->isStringNotNullOrEmpty($storeEntitySet)) {
125
            $msg = 'Store entity set cannot be empty';
126
            throw new \InvalidArgumentException($msg);
127
        }
128
        $this->storeEntitySet = $storeEntitySet;
129
        return $this;
130
    }
131
132
    /**
133
     * Gets as makeColumnsDistinct

src/MetadataV3/mapping/cs/TMappingFragmentType.php 1 location

@@ 44-52 (lines=9) @@
41
     * @param string $storeEntitySet
42
     * @return self
43
     */
44
    public function setStoreEntitySet($storeEntitySet)
45
    {
46
        if (!$this->isStringNotNullOrEmpty($storeEntitySet)) {
47
            $msg = 'Name cannot be null or empty';
48
            throw new \InvalidArgumentException($msg);
49
        }
50
        $this->storeEntitySet = $storeEntitySet;
51
        return $this;
52
    }
53
54
    /**
55
     * Gets as makeColumnsDistinct