Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
eltharin committed Jan 17, 2025
1 parent 62aaf51 commit 765e903
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/Schema/AbstractSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,12 @@ public function tablesExist($names, bool $filterAssetNames = true)

$names = array_map('strtolower', (array) $names);

return count($names) === count(array_intersect($names, array_map('strtolower', $this->listTableNames($filterAssetNames))));
return count($names) === count(
array_intersect(
$names,
array_map('strtolower', $this->listTableNames($filterAssetNames)),
),
);
}

/**
Expand Down Expand Up @@ -355,8 +360,8 @@ protected function doListTableNames(bool $filterAssetNames = true): array
$this->selectTableNames($database)
->fetchAllAssociative(),
);
return $filterAssetNames ? $this->filterAssetNames($tableNames) : $tableNames;

return $filterAssetNames ? $this->filterAssetNames($tableNames) : $tableNames;
}

/**
Expand Down

0 comments on commit 765e903

Please sign in to comment.