Skip to content

Commit b25a54c

Browse files
committed
AC-9755:Fix Static Tests
1 parent 88d2f94 commit b25a54c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Theme/Model/Indexer/Design/IndexerHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ public function cleanIndex($dimensions)
8989
// change the charset to utf8mb4
9090
if ($tableName === self::DESIGN_CONFIG_GRID_FLAT) {
9191
$getTableSchema = $this->connection->showTableStatus($tableName) ?? '';
92-
if (isset($getTableSchema['Collation']) && preg_match('/\b('. SELF::OLDCOLLATION .')\b/', $getTableSchema['Collation'])) {
92+
if (isset($getTableSchema['Collation']) &&
93+
preg_match('/\b('. self::OLDCOLLATION .')\b/', $getTableSchema['Collation'])) {
9394
$charset = $this->columnConfig->getDefaultCharset();
9495
$collate = $this->columnConfig->getDefaultCollation();
9596
$columnEncoding = " CHARACTER SET ".$charset." COLLATE ".$collate;

0 commit comments

Comments
 (0)