|
@@ -426,7 +426,7 @@ discard block |
|
|
block discarded – undo |
|
426
|
426
|
* but after, you can only update existing globals. |
|
427
|
427
|
* |
|
428
|
428
|
* @param string $name |
|
429
|
|
- * @param mixed $value |
|
|
429
|
+ * @param string $value |
|
430
|
430
|
* |
|
431
|
431
|
* @return $this |
|
432
|
432
|
* @throws Exception |
|
@@ -576,7 +576,7 @@ discard block |
|
|
block discarded – undo |
|
576
|
576
|
* Adds a filter to this Dwoo instance, it will be used to filter the output of all the templates rendered by this |
|
577
|
577
|
* instance. |
|
578
|
578
|
* |
|
579
|
|
- * @param mixed $callback a callback or a filter name if it is autoloaded from a plugin directory |
|
|
579
|
+ * @param Smarty\Filter\Adapter $callback a callback or a filter name if it is autoloaded from a plugin directory |
|
580
|
580
|
* @param bool $autoload if true, the first parameter must be a filter name from one of the plugin directories |
|
581
|
581
|
* |
|
582
|
582
|
* @return void |
|
@@ -1614,7 +1614,7 @@ discard block |
|
|
block discarded – undo |
|
1614
|
1614
|
* @param mixed $value the value to assign |
|
1615
|
1615
|
* @param string $scope the variable string, using dwoo variable syntax (i.e. "var.subvar[subsubvar]->property") |
|
1616
|
1616
|
* |
|
1617
|
|
- * @return bool true if assigned correctly or false if a problem occured while parsing the var string |
|
|
1617
|
+ * @return null|false true if assigned correctly or false if a problem occured while parsing the var string |
|
1618
|
1618
|
*/ |
|
1619
|
1619
|
public function assignInScope($value, $scope) |
|
1620
|
1620
|
{ |
Please login to merge, or discard this patch.