@@ -267,6 +267,9 @@ |
||
267 | 267 | ; |
268 | 268 | } |
269 | 269 | |
270 | + /** |
|
271 | + * @param string $var |
|
272 | + */ |
|
270 | 273 | public function compileLoadTemplate(JsCompiler $compiler, $node, $var) |
271 | 274 | { |
272 | 275 | $compiler->isTemplateName = true; |
@@ -251,7 +251,6 @@ discard block |
||
251 | 251 | /** |
252 | 252 | * Returns the function name for the given template name. |
253 | 253 | * |
254 | - * @param \Twig_Node_Module $templateName |
|
255 | 254 | * @return string |
256 | 255 | */ |
257 | 256 | final public function getFunctionName(\Twig_Node_Module $module) |
@@ -372,6 +371,9 @@ discard block |
||
372 | 371 | return $this; |
373 | 372 | } |
374 | 373 | |
374 | + /** |
|
375 | + * @param string $localName |
|
376 | + */ |
|
375 | 377 | public function setVar($var, $localName) |
376 | 378 | { |
377 | 379 | $this->localVarMap[$var] = |
@@ -387,6 +389,9 @@ discard block |
||
387 | 389 | return $this; |
388 | 390 | } |
389 | 391 | |
392 | + /** |
|
393 | + * @param boolean $bool |
|
394 | + */ |
|
390 | 395 | public function setTemplateName($bool) |
391 | 396 | { |
392 | 397 | $this->isTemplateName = (Boolean) $bool; |