whitespace cleanup.

This commit is contained in:
Justin Hileman
2010-07-06 10:19:49 -04:00
parent 2cfb8aefc1
commit 16218800a9
+4 -4
View File
@@ -21,7 +21,7 @@ class MustacheObjectSectionTest extends PHPUnit_Framework_TestCase {
class Alpha extends Mustache { class Alpha extends Mustache {
public $foo; public $foo;
public function __construct() { public function __construct() {
$this->foo = new StdClass(); $this->foo = new StdClass();
$this->foo->name = 'Foo'; $this->foo->name = 'Foo';
@@ -31,17 +31,17 @@ class Alpha extends Mustache {
class Beta extends Mustache { class Beta extends Mustache {
protected $_data = array(); protected $_data = array();
public function __construct() { public function __construct() {
$this->_data['foo'] = new StdClass(); $this->_data['foo'] = new StdClass();
$this->_data['foo']->name = 'Foo'; $this->_data['foo']->name = 'Foo';
$this->_data['foo']->number = 1; $this->_data['foo']->number = 1;
} }
public function __isset($name) { public function __isset($name) {
return array_key_exists($name, $this->_data); return array_key_exists($name, $this->_data);
} }
public function __get($name) { public function __get($name) {
return $this->_data[$name]; return $this->_data[$name];
} }