Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edm/TEntityTypeType.php 1 location

@@ 411-414 (lines=4) @@
408
409
    public function isOK(&$msg = null)
410
    {
411
        if (null != $this->typeAccess && !$this->isTPublicOrInternalAccessOK($this->typeAccess)) {
412
            $msg = "Type access must be Public or Internal";
413
            return false;
414
        }
415
        if (!$this->isObjectNullOrOK($this->documentation, $msg)) {
416
            return false;
417
        }

src/MetadataV3/edm/EntityContainer.php 1 location

@@ 436-439 (lines=4) @@
433
            return false;
434
        }
435
436
        if (null != $this->typeAccess && !($this->isTPublicOrInternalAccessOK($this->typeAccess))) {
437
            $msg = "Type access must be Public or Internal";
438
            return false;
439
        }
440
        
441
        if (!$this->isObjectNullOrOK($this->documentation, $msg)) {
442
            return false;