mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
ad5c0f56dd
Previously, negative limits caused array_slice() to return unexpected results (all except last N elements) and zero returned an empty array without clear intent. Now throws InvalidArgumentException for values < 1, making invalid configurations fail fast with a clear error message.