mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-06-06 06:34:39 -04:00
basename() returns string and database column values are strings, but get_latest_migration() and get_current_version() declare int return types. PHP 8.0+ enforces strict return types and no longer silently coerces strings to int, causing a TypeError on fresh installs. Fixes #4559 Co-authored-by: Ollama <ollama@steganos.dev>