collections icon indicating copy to clipboard operation
collections copied to clipboard

Change Collection#slice return type to Collection

Open LIQRGV opened this issue 3 years ago • 4 comments

This commit should resolve #195

LIQRGV avatar Jan 14 '21 11:01 LIQRGV

Duplicate of #196

LIQRGV avatar Jan 14 '21 11:01 LIQRGV

This is a BC break, so it cannot be done

stof avatar Mar 15 '22 10:03 stof

@stof That's why 2.0 is the target branch, but I assume that there are no plans to make a collection return a new collection instance?

SenseException avatar Mar 16 '22 21:03 SenseException

@SenseException this still looks like a BC break for which it is impossible to provide a smooth migration path, which makes it a very hard BC break for the ecosystem.

stof avatar Mar 18 '22 12:03 stof

Closing as per https://github.com/doctrine/collections/pull/264#issuecomment-1072345923

greg0ire avatar Aug 24 '22 09:08 greg0ire