mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-21 22:56:12 +01:00

[TASK] Remove unnecessary is_int check of pageUid

Related #1120
This commit is contained in:
Karsten Nowak 2024-07-30 19:11:47 +02:00
parent 1430186268
commit febf422b9b

View file

@ -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';