Code Duplication    Length = 13-13 lines in 2 locations

src/MetadataV3/mapping/cs/Groups/TEntityTypeModificationFunctionMappingPropertyGroup.php 1 location

@@ 98-110 (lines=13) @@
95
        return $this;
96
    }
97
98
    public function isMappingPropertyGroupOK(&$msg = null)
99
    {
100
        if (null != $this->scalarProperty && !$this->scalarProperty->isOK($msg)) {
101
            return false;
102
        }
103
        if (null != $this->complexProperty && !$this->complexProperty->isOK($msg)) {
104
            return false;
105
        }
106
        if (null != $this->associationEnd && !$this->associationEnd->isOK($msg)) {
107
            return false;
108
        }
109
        return true;
110
    }
111
}

src/MetadataV3/mapping/cs/Groups/TPropertyGroup.php 1 location

@@ 92-104 (lines=13) @@
89
        return $this;
90
    }
91
92
    public function isPropertyGroupOK(&$msg = null)
93
    {
94
        if (null != $this->scalarProperty && !$this->scalarProperty->isOK($msg)) {
95
            return false;
96
        }
97
        if (null != $this->complexProperty && !$this->complexProperty->isOK($msg)) {
98
            return false;
99
        }
100
        if (null != $this->condition && !$this->condition->isOK($msg)) {
101
            return false;
102
        }
103
        return true;
104
    }
105
}
106