Code Duplication    Length = 4-4 lines in 3 locations

src/MetadataV3/edm/TNavigationPropertyType.php 1 location

@@ 237-240 (lines=4) @@
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;
240
        }
241
        if (!$this->isExtensibilityElementOK($msg)) {
242
            return false;
243
        }

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

@@ 284-287 (lines=4) @@
281
            $msg = "Entity set must be either null or an instance of TOperandType: " . get_class($this);
282
            return false;
283
        }
284
        if (null != $this->methodAccess && !$this->isTAccessOk($this->methodAccess)) {
285
            $msg = "Method access must be a valid TAccess: " . get_class($this);
286
            return false;
287
        }
288
        if (!$this->isValidArrayOK(
289
            $this->returnType,
290
            '\AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionImportReturnTypeType',

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

@@ 528-531 (lines=4) @@
525
            $msg = "ConcurrencyMode must be a valid TConcurrencyMode: " . get_class($this);
526
            return false;
527
        }
528
        if (null != $this->setterAccess && !$this->isTAccessOk($this->setterAccess)) {
529
            $msg = "Setter access must be a valid TAccess: " . get_class($this);
530
            return false;
531
        }
532
        if (null != $this->getterAccess && !$this->isTAccessOk($this->getterAccess)) {
533
            $msg = "Getter access must be a valid TAccess: " . get_class($this);
534
            return false;