Steps to reproduce the issue
Uses Joomla\Filesystem\Path::clean() to check for an empty path
Expected result
It should throw \InvalidArgumentException
Actual result
No thrown exception
System information (as much as possible)
We discovered this issue with Joomla 5 when it uses Joomla\Filesystem\Path instead of the old one Joomla\CMS\Filesystem\Path (which worked well)
Additional comments