Removed the support for calling anonymous function returned as a property value.

This commit is contained in:
Qiang Xue
2013-09-12 20:10:06 -04:00
parent a2b946e4d3
commit 91b6e2945a
3 changed files with 2 additions and 23 deletions

View File

@@ -134,11 +134,6 @@ class ObjectTest extends TestCase
$this->assertEquals('new text', $this->object->object->text);
}
public function testAnonymousFunctionProperty()
{
$this->assertEquals(2, $this->object->execute(1));
}
public function testConstruct()
{
$object = new NewObject(array('text' => 'test text'));