Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 124-127 (lines=4) @@
121
            $msg = "Entity type must be a valid TQualifiedName: " . get_class($this);
122
            return false;
123
        }
124
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
125
            $msg = "Getter access must be a valid TAccess: " . get_class($this);
126
            return false;
127
        }
128
129
        return true;
130
    }

src/MetadataV3/edm/TNavigationPropertyType.php 1 location

@@ 233-236 (lines=4) @@
230
            $msg = "From role must be a valid TSimpleIdentifier";
231
            return false;
232
        }
233
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
234
            $msg = "Getter access must be a valid TAccess";
235
            return false;
236
        }
237
        if (null != $this->setterAccess && !$this->isTAccessOk($this->setterAccess)) {
238
            $msg = "Setter access must be a valid TAccess";
239
            return false;

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

@@ 533-536 (lines=4) @@
530
            $msg = "Setter access must be a valid TAccess: " . get_class($this);
531
            return false;
532
        }
533
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
534
            $msg = "Getter access must be a valid TAccess: " . get_class($this);
535
            return false;
536
        }
537
538
        return true;
539
    }