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

MetadataStorage::get() should throw better exception #102

Closed
insekticid opened this issue Aug 20, 2015 · 0 comments
Closed

MetadataStorage::get() should throw better exception #102

insekticid opened this issue Aug 20, 2015 · 0 comments

Comments

@insekticid
Copy link

Add new check in MetadataStorage::get()
if - static::$metadata is empty array, throw new Exception -> you forgot to call SimpleModelFactory->create()

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

No branches or pull requests

2 participants