You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 12:32:55 +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.