safe icon indicating copy to clipboard operation
safe copied to clipboard

Why `shuffle`?

Open mvhirsch opened this issue 1 year ago • 0 comments

I'm currently refactoring a large code base. I'm using rector and this wonderful library to make it safer :-)

I stumbled upon shuffle and wonder: why? In which circumstances does it return false?

https://github.com/thecodingmachine/safe/blob/3a6e43b4be3d3d65b272c2660300a50658ce168b/generated/array.php#L52-L56

According to php documentation this never happens.

mvhirsch avatar Oct 03 '24 08:10 mvhirsch