Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 451-454 (lines=4) @@
448
            $msg = "Setter access must be a valid TAccess";
449
            return false;
450
        }
451
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
452
            $msg = "Getter access must be a valid TAccess";
453
            return false;
454
        }
455
456
        return true;
457
    }

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
    }