PHP 8.2 does not appear in CyberPanel after upgrade

I upgraded from a previous version to a newer one(2.3.7) following the official command, and even after restarting the machine, the PHP version list does not display PHP 8.2.

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

I managed to solve it by installing it manually with the command below:

apt-get install lsphp82*

But I wanted to know if this is a bug in the update script or something else, because if the update script should do this, there must be something wrong with it because it is not working.