From 1af328f27bd93b8ac5b2c58d887a5b4fa84c2113 Mon Sep 17 00:00:00 2001 From: Karsten Nowak Date: Tue, 30 Jul 2024 19:11:47 +0200 Subject: [PATCH] [TASK] Remove unnecessary is_int check of pageUid Related #1120 --- Classes/Command/CreateTestDataCommand.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Classes/Command/CreateTestDataCommand.php b/Classes/Command/CreateTestDataCommand.php index d7d0173..fe23cee 100644 --- a/Classes/Command/CreateTestDataCommand.php +++ b/Classes/Command/CreateTestDataCommand.php @@ -60,7 +60,6 @@ final class CreateTestDataCommand extends Command protected function execute(InputInterface $input, OutputInterface $output): int { $pageUid = (int)$input->getArgument('pageUid') ?? 0; - \assert(\is_int($pageUid)); $deleteDataBefore = $input->getOption('delete-data-before') ?? false; \assert(\is_bool($deleteDataBefore)); $table = 'tx_tea_domain_model_tea';