Code Duplication    Length = 7-8 lines in 2 locations

src/Query/DeleteQuery.php 1 location

@@ 43-49 (lines=7) @@
40
     */
41
    protected $limit;
42
43
    public function __construct()
44
    {
45
        $this->from = new FromStatement();
46
        $this->where = new WhereStatement();
47
        $this->orderBy = new OrderStatement();
48
        $this->limit = new LimitStatement();
49
    }
50
51
    /**
52
     * Sets the table for the query.

src/Query/UpdateQuery.php 1 location

@@ 49-56 (lines=8) @@
46
     */
47
    protected $limit;
48
49
    public function __construct()
50
    {
51
        $this->table = new FromStatement(false);
52
        $this->set = new SetStatement();
53
        $this->where = new WhereStatement();
54
        $this->orderBy = new OrderStatement();
55
        $this->limit = new LimitStatement();
56
    }
57
58
    /**
59
     * Sets the table for the query.