Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Fixed exception message #52

Merged
merged 1 commit into from
Jan 11, 2016
Merged

Conversation

svycka
Copy link
Contributor

@svycka svycka commented Nov 6, 2015

No description provided.

'Provided abstract factory must be the class name of an abstract factory or an instance of an AbstractFactoryInterface.'
);
throw new Exception\InvalidArgumentException(sprintf(
'Provided abstract factory must be the class name of an factory or an instance of an "%s".',
Copy link
Member

Choose a reason for hiding this comment

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

Missed callable is allowed too

@svycka
Copy link
Contributor Author

svycka commented Nov 6, 2015

@Maks3w thanks fixed

'Provided abstract factory must be the class name of an abstract factory or an instance of an AbstractFactoryInterface.'
);
throw new Exception\InvalidArgumentException(sprintf(
'Provided factory must be the class name of an factory, callable or an instance of an "%s".',
Copy link

Choose a reason for hiding this comment

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

an -> a

Copy link
Contributor

Choose a reason for hiding this comment

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

also, an instance of an "%s" -> an instance of "%s"

@weierophinney weierophinney added this to the 2.7.0 milestone Jan 11, 2016
@weierophinney weierophinney self-assigned this Jan 11, 2016
@weierophinney weierophinney merged commit a965e27 into zendframework:master Jan 11, 2016
weierophinney added a commit that referenced this pull request Jan 11, 2016
Fixed exception message
weierophinney added a commit that referenced this pull request Jan 11, 2016
weierophinney added a commit that referenced this pull request Jan 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants