- 🇺🇸United States rondog469
This patch should have probably included a fix for the line above the else:
return round($size * pow(self::KILOBYTE, stripos('bkmgtpezy', $unit[0])));
is returning the same error. - 🇺🇸United States rondog469
apologies, this issue was for Bytes::toInt which is now deprecated. My issue is with the Bytes::toNumber function albeit it still applies.
- 🇮🇹Italy mondrake 🇮🇹
@rondog469 mind opening a new issue with your report? Unlikely anything will happen on an issue that has been closed for 3 years.
- 🇺🇸United States rondog469
@mondrake Yup I just did and I linked back to this one for reference purposes https://www.drupal.org/project/drupal/issues/3352728 🐛 \Drupal\Component\Utility\Bytes::toNumber() - $size must be a number in PHP 8+ Needs work