@@ -22,6 +22,9 @@ |
||
22 | 22 | }; |
23 | 23 | } |
24 | 24 | |
25 | +/** |
|
26 | + * @param boolean $res |
|
27 | + */ |
|
25 | 28 | function matchStub($res) { |
26 | 29 | return function(Template $template) use ($res) { |
27 | 30 | return $res; |
@@ -115,6 +115,9 @@ |
||
115 | 115 | }; |
116 | 116 | } |
117 | 117 | |
118 | +/** |
|
119 | + * @param integer $num_required |
|
120 | + */ |
|
118 | 121 | function assertArgsFunc($num_required, $num_default = 0) { |
119 | 122 | return function(FuncArgs $args, $next) use ($num_required, $num_default) { |
120 | 123 | if (count($args->args) < $num_required) { |