Code Duplication    Length = 8-8 lines in 2 locations

dist/jate/modules/Connection/Adapters/PostgresqlAdapter.php 2 locations

@@ 21-28 (lines=8) @@
18
        $this->stdQuery($_query);
19
        return $this->stdQuery("SELECT lastval()");
20
      }
21
      public function queryFetch( $_query ) {
22
        $result = $this->stdQuery($_query);
23
        $rows = [];
24
        while($row = pg_fetch_assoc($result))
25
          $rows[] = $row;
26
        pg_free_result($result);
27
        return $rows;
28
      }
29
      public function queryArray( $_query ) {
30
        $result = $this->stdQuery($_query);
31
        $rows = [];
@@ 29-36 (lines=8) @@
26
        pg_free_result($result);
27
        return $rows;
28
      }
29
      public function queryArray( $_query ) {
30
        $result = $this->stdQuery($_query);
31
        $rows = [];
32
        while($row = pg_fetch_array($result))
33
          $rows[] = $row;
34
        pg_free_result($result);
35
        return $rows;
36
      }
37
      protected function stdQuery( $_query ) {
38
        $database = $this->connection;
39
        $result = pg_query($database, $_query);