mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
PHP 5.3 this/that compatibility
This commit is contained in:
parent
63e96a41f8
commit
67f10c1601
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class ComposerRepositoryTest extends TestCase
|
||||||
|
|
||||||
$that = $this;
|
$that = $this;
|
||||||
$packages = $repo->loadRecursively(array('a'), function ($name, $stability) use ($that) {
|
$packages = $repo->loadRecursively(array('a'), function ($name, $stability) use ($that) {
|
||||||
$this->assertEquals('a', $name);
|
$that->assertEquals('a', $name);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue