Skip to content

Commit

Permalink
SqlBase: Fix PHP 8.1 compatibility with drush sql:create --simulate (
Browse files Browse the repository at this point in the history
…drush-ops#5757)

An exception is thrown because the return type doesn't match a boolean value or null.
  • Loading branch information
codebymikey authored Sep 14, 2023
1 parent 05fa568 commit fe2e71b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Sql/SqlBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ public function query(string $query, $input_file = null, $result_file = ''): ?bo
return $this->alwaysQuery($query, $input_file, $result_file);
}
$this->logQueryInDebugMode($query, $input_file);
return true;
}

/**
Expand Down

0 comments on commit fe2e71b

Please sign in to comment.