Code Duplication    Length = 4-4 lines in 2 locations

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

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

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

@@ 399-402 (lines=4) @@
396
            $msg = 'Type name cannot be empty';
397
            return false;
398
        }
399
        if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) {
400
            $msg = 'Store entity set cannot be empty';
401
            return false;
402
        }
403
        if (null != $this->complexProperty && !$this->complexProperty->isOK($msg)) {
404
            return false;
405
        }