Passed
Pull Request — master (#1639)
by Rafael
18:42 queued 14:57
created
Classes/System/Records/AbstractRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.