Skip to content

Commit

Permalink
MySQL: Change variable names to camelCaps
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Feb 17, 2025
1 parent 9b872c1 commit eae7020
Show file tree
Hide file tree
Showing 42 changed files with 679 additions and 688 deletions.
10 changes: 5 additions & 5 deletions src/Lunr/Gravity/MySQL/MySQLAsyncQueryResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ protected function fetch_result()

$this->fetched = TRUE;

$this->error_message = $this->mysqli->error;
$this->error_number = $this->mysqli->errno;
$this->insert_id = $this->mysqli->insert_id;
$this->affected_rows = mysqli_affected_rows($this->mysqli);
$this->num_rows = is_object($this->result) ? mysqli_num_rows($this->result) : $this->affected_rows;
$this->errorMessage = $this->mysqli->error;
$this->errorNumber = $this->mysqli->errno;
$this->insertId = $this->mysqli->insert_id;
$this->affectedRows = mysqli_affected_rows($this->mysqli);
$this->numRows = is_object($this->result) ? mysqli_num_rows($this->result) : $this->affectedRows;
}

/**
Expand Down
Loading

0 comments on commit eae7020

Please sign in to comment.