- correction of PHPDoc blocks

- minor code cleanup
This commit is contained in:
Uwe Tews
2017-10-26 10:25:41 +02:00
parent 812758225c
commit dd9c076dfa
76 changed files with 613 additions and 141 deletions
@@ -7,22 +7,18 @@
* @package Smarty
* @subpackage Template
*/
class Smarty_Undefined_Variable
class Smarty_Undefined_Variable extends Smarty_Variable
{
/**
* Returns FALSE for 'nocache' and NULL otherwise.
* Returns null for not existing properties
*
* @param string $name
*
* @return bool
* @return null
*/
public function __get($name)
{
if ($name == 'nocache') {
return false;
} else {
return null;
}
}
/**