Skip to content

Conversation

@JanTvrdik
Copy link
Contributor

No description provided.

UI\Presenter::argsToParams($class, $method, $params);
UI\Presenter::argsToParams($class, $method, $params, [], $missing);
if ($missing) {
$argName = key($missing);
Copy link
Member

@dg dg Jul 27, 2016

Choose a reason for hiding this comment

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

This can be shorten to list($argName, $rm) = each($missing)

@dg
Copy link
Member

dg commented Jul 27, 2016

👍

@dg dg merged commit d6b1ed5 into nette:master Jul 27, 2016
@JanTvrdik JanTvrdik deleted the pr/fix_missing_args_filled_from_persistent branch July 27, 2016 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants