PHP 5.3 this/that compatibility
parent
63e96a41f8
commit
67f10c1601
|
@ -148,7 +148,7 @@ class ComposerRepositoryTest extends TestCase
|
|||
|
||||
$that = $this;
|
||||
$packages = $repo->loadRecursively(array('a'), function ($name, $stability) use ($that) {
|
||||
$this->assertEquals('a', $name);
|
||||
$that->assertEquals('a', $name);
|
||||
return true;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue