mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-28 18:02:07 +02:00
- reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483
This commit is contained in:
@@ -22,7 +22,7 @@ class Smarty_Data extends Smarty_Internal_Data
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
static $count = 0;
|
||||
public static $count = 0;
|
||||
|
||||
/**
|
||||
* Data block name
|
||||
@@ -50,7 +50,7 @@ class Smarty_Data extends Smarty_Internal_Data
|
||||
public function __construct($_parent = null, $smarty = null, $name = null)
|
||||
{
|
||||
parent::__construct();
|
||||
self::$count ++;
|
||||
self::$count++;
|
||||
$this->dataObjectName = 'Data_object ' . (isset($name) ? "'{$name}'" : self::$count);
|
||||
$this->smarty = $smarty;
|
||||
if (is_object($_parent)) {
|
||||
|
||||
Reference in New Issue
Block a user