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: missing Model::__unset($property) #106

Closed
wants to merge 1 commit into from
Closed

FIX: missing Model::__unset($property) #106

wants to merge 1 commit into from

Conversation

qyanu
Copy link
Contributor

@qyanu qyanu commented Dec 14, 2014

I found out, that the Model class wasn't defining the __unset method in order to support unset($model->property).

This commit/patch implements __unset by just calling $this->orm->__unset, as is already done for __set, __get and __isset.

@qyanu
Copy link
Contributor Author

qyanu commented Dec 14, 2014

Better late than never: Observed and followed the guidelines for making a pull request, thus adding a unit-test plus changelog.

@treffynnon
Copy link
Collaborator

Merged in develop. Thanks.

@treffynnon treffynnon closed this Dec 14, 2016
Repository owner locked and limited conversation to collaborators Dec 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants