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

When an optional parameter has no devault value available, set it required #40

Merged
merged 3 commits into from
Nov 24, 2015

Conversation

kafene
Copy link
Contributor

@kafene kafene commented Nov 24, 2015

resolves #37

@kafene
Copy link
Contributor Author

kafene commented Nov 24, 2015

replacement for #38 - check that a default value is available when setting the default value, otherwise set the param required.

@rantonmattei - I think you're right, this is the simplest and cleanest way to do it. If the user doesn't fill in all the defaults for an internal class/method, it will fail in a consistent way that makes sense (missing params).

@rantonmattei
Copy link
Contributor

That's great. Thanks!

rantonmattei added a commit that referenced this pull request Nov 24, 2015
When an optional parameter has no devault value available, set it required
@rantonmattei rantonmattei merged commit a3b0a68 into theorchard:master Nov 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP error: "Cannot determine default value for internal functions ..."
2 participants