Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
- Enh #415: Implement `CaseExpressionBuilder` class (@Tigrov)
- Enh #420: Provide `yiisoft/db-implementation` virtual package (@vjik)
- Enh #424, #425, #428: Adapt to conditions refactoring in `yiisoft/db` package (@vjik)
- Enh #431: Remove `TableSchema` class and refactor `Schema` class (@Tigrov)

## 1.3.0 March 21, 2024

Expand Down
2 changes: 1 addition & 1 deletion src/DDLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
/**
* @throws Throwable
*/
public function checkIntegrity(string $schema = '', string $table = '', bool $check = true): string

Check warning on line 80 in src/DDLQueryBuilder.php

View workflow job for this annotation

GitHub Actions / PHP 8.4-ubuntu-latest

Escaped Mutant for Mutator "TrueValue": @@ @@ /** * @throws Throwable */ - public function checkIntegrity(string $schema = '', string $table = '', bool $check = true): string + public function checkIntegrity(string $schema = '', string $table = '', bool $check = false): string { /** @psalm-var Schema $schemaInstance */ $schemaInstance = $this->schema;
{
/** @psalm-var Schema $schemaInstance */
$schemaInstance = $this->schema;
Expand All @@ -86,7 +86,7 @@
$tableNames = [];
$viewNames = [];

if ($schema !== null) {
if ($schema !== '') {
$tableNames = $table ? [$table] : $schemaInstance->getTableNames($schema);
$viewNames = $schemaInstance->getViewNames($schema);
}
Expand Down
Loading
Loading