Code Duplication    Length = 4-4 lines in 2 locations

src/Entities/Pointcuts/AndPointcut.php 1 location

@@ 68-71 (lines=4) @@
65
        } elseif ($this->rightPointcut->getConditionString() === 'true') {
66
            return $this->leftPointcut->getConditionString();
67
68
        } else {
69
            return '(' . $this->leftPointcut->getConditionString() . $this->getConnector().
70
            $this->rightPointcut->getConditionString() . ')';
71
        }
72
    }
73
74
    /**

src/Entities/Pointcuts/OrPointcut.php 1 location

@@ 62-65 (lines=4) @@
59
        if ($this->leftPointcut->getConditionString() === 'true' || $this->rightPointcut->getConditionString() === 'true') {
60
            return 'true';
61
62
        } else {
63
            return '(' . $this->leftPointcut->getConditionString() . $this->getConnector().
64
            $this->rightPointcut->getConditionString() . ')';
65
        }
66
    }
67
68
    /**