Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 342-345 (lines=4) @@
339
            $msg = 'Type name cannot be empty';
340
            return false;
341
        }
342
        if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) {
343
            $msg = 'Store entity set cannot be empty';
344
            return false;
345
        }
346
        if (null != $this->queryView && !$this->isStringNotNullOrEmpty($this->queryView)) {
347
            $msg = 'Query view cannot be empty';
348
            return false;

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

@@ 368-371 (lines=4) @@
365
            $msg = 'Type name cannot be empty';
366
            return false;
367
        }
368
        if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) {
369
            $msg = 'Store entity set cannot be empty';
370
            return false;
371
        }
372
        if (!$this->isPropertyGroupOK($msg)) {
373
            return false;
374
        }