Skip to content

Commit

Permalink
[BUGFIX] Use Connection::PARAM_STR_ARRAY instead of ArrayParameterType
Browse files Browse the repository at this point in the history
ArrayParameterType does not exist in TYPO3 v11
  • Loading branch information
vertexvaar committed Nov 17, 2023
1 parent 309bd7e commit 02973bf
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace In2code\In2publishCore\Component\Core\Publisher\Command;

use Doctrine\DBAL\ArrayParameterType;
use In2code\In2publishCore\CommonInjection\LocalDatabaseInjection;
use In2code\In2publishCore\Component\Core\DemandResolver\Filesystem\Service\FalDriverServiceInjection;
use In2code\In2publishCore\Component\Core\Publisher\Instruction\PublishInstruction;
Expand All @@ -14,6 +13,8 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

use TYPO3\CMS\Core\Database\Connection;

use function explode;
use function json_decode;

Expand Down Expand Up @@ -44,7 +45,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
->where(
$query->expr()->in(
'request_token',
$query->createNamedParameter($requestTokens, ArrayParameterType::STRING)
$query->createNamedParameter($requestTokens, Connection::PARAM_STR_ARRAY)
)
);
$result = $query->executeQuery();
Expand Down

0 comments on commit 02973bf

Please sign in to comment.