This commit is contained in:
Dariusz Rumiński
2014-07-24 18:37:55 +02:00
parent 6381604484
commit 3d25e12fe1
3 changed files with 6 additions and 6 deletions
@@ -92,7 +92,7 @@ class Mustache_Test_Functional_ExamplesTest extends PHPUnit_Framework_TestCase
// load other files // load other files
switch ($info['extension']) { switch ($info['extension']) {
case 'php': case 'php':
require_once($fullpath); require_once $fullpath;
$context = new $info['filename']; $context = new $info['filename'];
break; break;
@@ -21,7 +21,7 @@ class MagicObject
public function __get($key) public function __get($key)
{ {
return isset($this->_data[$key]) ? $this->_data[$key] : NULL; return isset($this->_data[$key]) ? $this->_data[$key] : null;
} }
public function __isset($key) public function __isset($key)