original_string: public function getArrays($query)
      {
          $this->statement = $this->db->query($query);
          if ($this->statement) {
              $result =  $this->statement->fetchAll(\PDO::FETCH_ASSOC);
              if ($result) {
                  return $result;
              }
          }
          return false;
      }
code: public function getArrays($query)
      {
          $this->statement = $this->db->query($query);
          if ($this->statement) {
              $result =  $this->statement->fetchAll(\PDO::FETCH_ASSOC);
              if ($result) {
                  return $result;
              }
          }
          return false;
      }
code_tokens: public function getArrays ( $ query ) { $ this -> statement = $ this -> db -> query ( $ query ) ; if ( $ this -> statement ) { $ result = $ this -> statement -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; if ( $ result ) { return $ result ; } } return false ; }
docstring: Get arrays by sql query
  
  @param string $query Sql query
  
  @return array|bool
docstring_tokens: Get arrays by sql query