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

improved documentation of Model::load() return value #9216

Closed
wants to merge 1 commit into from

Conversation

cebe
Copy link
Member

@cebe cebe commented Jul 25, 2015

tried to make it more clear. @tom-- are you happy with this version?

fixes #8803

@cebe cebe added this to the 2.0.6 milestone Jul 25, 2015
@cebe cebe added the type:docs Documentation label Jul 25, 2015
* @return boolean whether the model is successfully populated with some data.
* @return boolean whether `$data` contained some data to populate the models attributes.
* This does only mean that there was some data provided. It does not necessarily mean that any field
* was populated, which may be the case if none of the provided fields is safe in the current [[scenario]].
Copy link
Contributor

Choose a reason for hiding this comment

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

It's good. But to make it more typical English, change "This does only mean that" to "This only means that"

Copy link
Member Author

Choose a reason for hiding this comment

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

merged with adjustment. thanks!

@cebe cebe closed this in d3bd7af Jul 26, 2015
@cebe cebe deleted the model-load-docs branch July 26, 2015 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:docs Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

base\Model::load() return documentation is misleading
2 participants