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

Better error message for NamedConstructorAggregateFactory assertion #176

Merged
merged 1 commit into from
Jun 25, 2015

Conversation

wjzijderveld
Copy link
Member

Fixes #174

@mbadolato
Copy link
Contributor

👍


Assert::true(
method_exists($aggregateClass, $this->staticConstructorMethod),
sprintf('NamedConstructorAggregateFactory expected %s to exists', $methodCall)
Copy link
Member

Choose a reason for hiding this comment

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

to exist

Copy link
Member Author

Choose a reason for hiding this comment

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

Good one, that's what you get when you rearrange your sentence last minute :)

@simensen
Copy link
Contributor

👍 I've run into this multiple times and was fortunate enough to have @wjzijderveld there this time to keep track of these things and submit issues and fixes for broadway today. :)

@othillo
Copy link
Member

othillo commented Jun 25, 2015

👍

othillo pushed a commit that referenced this pull request Jun 25, 2015
Better error message for NamedConstructorAggregateFactory assertion
@othillo othillo merged commit 911f89f into broadway:master Jun 25, 2015
@wjzijderveld wjzijderveld deleted the assertion-message branch June 25, 2015 21:50
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.

4 participants