Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 288-291 (lines=4) @@
285
            $msg = 'Type name cannot be empty';
286
            return false;
287
        }
288
        if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) {
289
            $msg = 'Store entity set cannot be empty';
290
            return false;
291
        }
292
        if (null != $this->queryView && !$this->isStringNotNullOrEmpty($this->queryView)) {
293
            $msg = 'Query view cannot be empty';
294
            return false;

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

@@ 320-323 (lines=4) @@
317
            $msg = 'Type name cannot be empty';
318
            return false;
319
        }
320
        if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) {
321
            $msg = 'Store entity set cannot be empty';
322
            return false;
323
        }
324
        if (!$this->isPropertyGroupOK($msg)) {
325
            return false;
326
        }