diff --git a/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php
index 145b011392938496b8a1d90f8b2a2eec6ec7cf8d..ee6fd5043080cb074d6ba2afb66e8fea1f92e0e0 100644
--- a/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php
+++ b/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php
@@ -222,7 +222,7 @@ class OptimizeDatabaseTableAdditionalFieldProvider extends AbstractAdditionalFie
             $queryBuilder->andWhere(
                 $queryBuilder->expr()->in(
                     'TABLE_NAME',
-                    $queryBuilder->createNamedParameter($tableNames, Connection::PARAM_STR)
+                    $queryBuilder->createNamedParameter($tableNames, Connection::PARAM_STR_ARRAY)
                 )
             );
         }