Code Duplication    Length = 7-7 lines in 2 locations

src/Phossa2/Query/Traits/Clause/ExtraTrait.php 2 locations

@@ 33-39 (lines=7) @@
30
    /**
31
     * {@inheritDoc}
32
     */
33
    public function before(/*# string */ $position, /*# string */ $rawString)
34
    {
35
        $clause = &$this->getClause('BEFORE');
36
        $pos = strtoupper($position);
37
        $clause[$pos][] = $rawString;
38
        return $this;
39
    }
40
41
    /**
42
     * {@inheritDoc}
@@ 44-50 (lines=7) @@
41
    /**
42
     * {@inheritDoc}
43
     */
44
    public function after(/*# string */ $position, /*# string */ $rawString)
45
    {
46
        $clause = &$this->getClause('AFTER');
47
        $pos = strtoupper($position);
48
        $clause[$pos][] = $rawString;
49
        return $this;
50
    }
51
52
    /**
53
     * Build AFTER/BEFORE