Code Duplication    Length = 9-9 lines in 2 locations

src/MetadataV3/edm/TTypeAssertExpressionType.php 1 location

@@ 76-84 (lines=9) @@
73
     * @return self
74
     * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType $operand
75
     */
76
    public function addToOperand(TOperandType $operand)
77
    {
78
        $msg = null;
79
        if (!$operand->isOK($msg)) {
80
            throw new \InvalidArgumentException($msg);
81
        }
82
        $this->operand[] = $operand;
83
        return $this;
84
    }
85
86
    /**
87
     * isset operand

src/MetadataV3/edm/TTypeTestExpressionType.php 1 location

@@ 75-83 (lines=9) @@
72
     * @return self
73
     * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType $operand
74
     */
75
    public function addToOperand(TOperandType $operand)
76
    {
77
        $msg = null;
78
        if (!$operand->isOK($msg)) {
79
            throw new \InvalidArgumentException($msg);
80
        }
81
        $this->operand[] = $operand;
82
        return $this;
83
    }
84
85
    /**
86
     * isset operand