Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edm/Groups/TEntitySetAttributesTrait.php 1 location

@@ 104-107 (lines=4) @@
101
            $msg = "Entity type must be a valid TQualifiedName";
102
            return false;
103
        }
104
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
105
            $msg = "Getter access must be a valid TAccess";
106
            return false;
107
        }
108
109
        return true;
110
    }

src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location

@@ 456-459 (lines=4) @@
453
            $msg = "Setter access must be a valid TAccess";
454
            return false;
455
        }
456
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
457
            $msg = "Getter access must be a valid TAccess";
458
            return false;
459
        }
460
461
        return true;
462
    }