Skip to content

Conversation

@sunkan
Copy link
Member

@sunkan sunkan commented Jul 22, 2025

No description provided.

@sunkan sunkan requested a review from bix0r July 22, 2025 08:36

$this->assertNotSame($collection1, $newCollection);
$this->assertCount(0, $newCollection);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would love to see a check to make sure the type has not changed (also for the map test):

Suggested change
}
$this->assertSame($collection1->getType(), $newCollection->getType());
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

Also added a comment explaining why it stays the same

Copy link
Member

@bix0r bix0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@sunkan sunkan merged commit bcb238f into main Jul 22, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants