Skip to content

Commit f93fb03

Browse files
committed
CS
1 parent fcd5a54 commit f93fb03

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

wp-includes/sqlite/class-wp-sqlite-pdo-engine.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function query( $statement, $mode = PDO::FETCH_OBJ, ...$fetch_mode_args )
437437
if ( $translation->has_result ) {
438438
$this->results = $translation->result;
439439
} else {
440-
switch($translation->mysql_query_type) {
440+
switch ( $translation->mysql_query_type ) {
441441
case 'DESCRIBE':
442442
$this->results = $stmt->fetchAll( $mode );
443443
if ( ! $this->results ) {
@@ -450,7 +450,7 @@ public function query( $statement, $mode = PDO::FETCH_OBJ, ...$fetch_mode_args )
450450
$this->results = $stmt->fetchAll( $mode );
451451
break;
452452
case 'TRUNCATE':
453-
$this->results = true;
453+
$this->results = true;
454454
$this->return_value = true;
455455
return $this->return_value;
456456
case 'SET':
@@ -465,12 +465,12 @@ public function query( $statement, $mode = PDO::FETCH_OBJ, ...$fetch_mode_args )
465465
if ( $translation->calc_found_rows ) {
466466
$this->found_rows_result = $translation->calc_found_rows;
467467
}
468-
468+
469469
if ( is_array( $this->results ) ) {
470470
$this->num_rows = count( $this->results );
471471
$this->last_found_rows = count( $this->results );
472472
}
473-
473+
474474
switch ( $translation->sqlite_query_type ) {
475475
case 'DELETE':
476476
case 'UPDATE':

0 commit comments

Comments
 (0)