CodersCare / l10nmgr

GNU General Public License v3.0
0 stars 9 forks source link

Exception " Argument 1 passed to setSourcePid() must be of the type int, string given" #35

Open rvock opened 10 months ago

rvock commented 10 months ago

https://github.com/CodersCare/l10nmgr/blob/3ee71720066bafdf2c5abd736c1f97c6f3ae61ec/Classes/Command/Export.php#L234C9-L235C50

$sourcePid = $input->getOption('srcPID') ?? 0;
$l10nmgrCfgObj->setSourcePid($sourcePid);

Options retrieved from InputInterface are strings, not integers.