Skip to content

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

Closed
qyanu wants to merge 1 commit intoj4mie:developfrom
qyanu:develop
Closed

FIX: missing Model::__unset($property)#106
qyanu wants to merge 1 commit intoj4mie:developfrom
qyanu:develop

Conversation

@qyanu
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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