Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edm/EntityContainer.php 1 location

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

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
        }