According to phpstan password_get_info function can return null, which is not true, I believe. The issue is only on php8. https://phpstan.org/r/51e4f7f2-eb91-4663-beba-e94f5fcf6480