original_string: private function prepareStatement($query, $parameters) {
              $stmt = $this->db_connection->prepare($query);
  
              if (!empty($parameters)) {
                  foreach ($parameters as $key => $val) {
                      $stmt->bindValue($key, $val);
                  }
              }
  
              return $stmt;
          }
code: private function prepareStatement($query, $parameters) {
              $stmt = $this->db_connection->prepare($query);
  
              if (!empty($parameters)) {
                  foreach ($parameters as $key => $val) {
                      $stmt->bindValue($key, $val);
                  }
              }
  
              return $stmt;
          }
code_tokens: private function prepareStatement ( $ query , $ parameters ) { $ stmt = $ this -> db_connection -> prepare ( $ query ) ; if ( ! empty ( $ parameters ) ) { foreach ( $ parameters as $ key => $ val ) { $ stmt -> bindValue ( $ key , $ val ) ; } } return $ stmt ; }
docstring: Convert a string query and parameters
  to a PDO Statement
  
  @param $query
  @param $parameters
  
  @return PDOStatement
docstring_tokens: Convert a string query and parameters to a PDO Statement