Code Duplication    Length = 7-7 lines in 3 locations

src/Queries/Mysql/Count.php 1 location

@@ 39-45 (lines=7) @@
36
     *
37
     * @return PDOStatement
38
     */
39
    public function run()
40
    {
41
        $statement = $this->entity->getDb()->execute((string) $this, $this->marks);
42
        $statement->setFetchMode(PDO::FETCH_NUM);
43
44
        return $statement;
45
    }
46
47
    /**
48
     * Run the query and return the value.

src/Queries/Mysql/Sum.php 1 location

@@ 55-61 (lines=7) @@
52
     *
53
     * @return PDOStatement
54
     */
55
    public function run()
56
    {
57
        $statement = $this->entity->getDb()->execute((string) $this, $this->marks);
58
        $statement->setFetchMode(PDO::FETCH_NUM);
59
60
        return $statement;
61
    }
62
63
    /**
64
     * Run the query and return the value.

src/Queries/SelectTrait.php 1 location

@@ 87-93 (lines=7) @@
84
     *
85
     * @return PDOStatement
86
     */
87
    public function run()
88
    {
89
        $statement = $this->entity->getDb()->execute((string) $this, $this->marks);
90
        $statement->setFetchMode(PDO::FETCH_ASSOC);
91
92
        return $statement;
93
    }
94
95
    /**
96
     * Build and return the query.