Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sampler aggregation DSL #1815

Merged
merged 2 commits into from
Oct 21, 2020
Merged

Conversation

deguif
Copy link
Collaborator

@deguif deguif commented Oct 20, 2020

No description provided.

*/
public function sampler($name): Sampler
public function sampler(string $name): Sampler
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

BC break as type-hint is changed, but this is currently breaking when calling the constructor with another type-hint as constructor only accepts a string for name argument.

@ruflin
Copy link
Owner

ruflin commented Oct 21, 2020

Could you add a changelog entry? We could consider this a bugfix :-)

@deguif deguif force-pushed the fix-sampler-aggregation-dsl branch from be6be94 to 4181ab9 Compare October 21, 2020 10:17
@deguif
Copy link
Collaborator Author

deguif commented Oct 21, 2020

@ruflin changelog added, can be merged ;)

@deguif
Copy link
Collaborator Author

deguif commented Oct 21, 2020

Merging as I added the changelog entry ;)

@deguif deguif merged commit 925ef5d into ruflin:master Oct 21, 2020
@deguif deguif deleted the fix-sampler-aggregation-dsl branch October 21, 2020 15:51
@ruflin
Copy link
Owner

ruflin commented Oct 22, 2020

Thanks!

@ruflin
Copy link
Owner

ruflin commented Oct 22, 2020

BTW glad to see you used squash merge to keep the history clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants