@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * Note: Rollback will not work in case of different connections. |
91 | 91 | * |
92 | - * @param string[] $tableNames |
|
92 | + * @param string $tableNames |
|
93 | 93 | * @return Connection |
94 | 94 | * @throws \RuntimeException if different connection for some table is used |
95 | 95 | */ |
@@ -120,7 +120,7 @@ |
||
120 | 120 | /** @var ConnectionPool $connectionPool */ |
121 | 121 | $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); |
122 | 122 | $connection = $connectionPool->getConnectionForTable(array_shift($tableNames)); |
123 | - foreach($tableNames as $tableName) { |
|
123 | + foreach ($tableNames as $tableName) { |
|
124 | 124 | $connectionForTable = $connectionPool->getConnectionForTable($tableName); |
125 | 125 | if ($connection !== $connectionForTable) { |
126 | 126 | return false; |