Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function __construct($_parent = null, $smarty = null, $name = null) {
* @param boolean $nocache if true any output of this variable will be not cached
* @param int $scope one of self::SCOPE_* constants
*
* @return Data current Data (or Smarty or \Smarty\Template) instance for
* @return $this current Data (or Smarty or \Smarty\Template) instance for
* chaining
*/
public function assign($tpl_var, $value = null, $nocache = false, $scope = null)
Expand Down Expand Up @@ -162,7 +162,7 @@ public function assign($tpl_var, $value = null, $nocache = false, $scope = null)
* @param bool $nocache if true any output of this variable will
* be not cached
*
* @return Data
* @return $this
* @api Smarty::append()
*/
public function append($tpl_var, $value = null, $merge = false, $nocache = false)
Expand Down Expand Up @@ -198,7 +198,7 @@ public function append($tpl_var, $value = null, $merge = false, $nocache = false
* @param mixed $value the value to assign
* @param boolean $nocache if true any output of this variable will be not cached
*
* @return Data
* @return $this
* @deprecated since 5.0
*/
public function assignGlobal($varName, $value = null, $nocache = false)
Expand Down Expand Up @@ -350,7 +350,7 @@ public function getSmarty()
*
* @param string|array $tpl_var the template variable(s) to clear
*
* @return Data
* @return $this
*
* @api Smarty::clearAssign()
*/
Expand All @@ -369,7 +369,7 @@ public function clearAssign($tpl_var)
/**
* clear all the assigned template variables.
*
* @return Data
* @return $this
*
* @api Smarty::clearAllAssign()
*/
Expand All @@ -384,7 +384,7 @@ public function clearAllAssign()
*
* @param string|null $name variable name or null
*
* @return Data
* @return $this
*
* @api Smarty::clearConfig()
*/
Expand Down Expand Up @@ -456,7 +456,7 @@ public function getConfigVars($varname = null)
* @param mixed $sections array of section names, single
* section or null

* @returns $this
* @return $this
* @throws \Exception
*
* @api Smarty::configLoad()
Expand Down