mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Made fixes after review.
This commit is contained in:
parent
3f38eede8a
commit
f59ca1e2f8
2 changed files with 3 additions and 5 deletions
|
@ -39,8 +39,7 @@ class ResultSetIteratorTest extends \PHPUnit_Framework_TestCase
|
|||
$ruleSetIterator = new RuleSetIterator($this->rules);
|
||||
|
||||
$result = array();
|
||||
foreach ($ruleSetIterator as $rule)
|
||||
{
|
||||
foreach ($ruleSetIterator as $rule) {
|
||||
$result[] = $rule;
|
||||
}
|
||||
|
||||
|
@ -58,8 +57,7 @@ class ResultSetIteratorTest extends \PHPUnit_Framework_TestCase
|
|||
$ruleSetIterator = new RuleSetIterator($this->rules);
|
||||
|
||||
$result = array();
|
||||
foreach ($ruleSetIterator as $key => $rule)
|
||||
{
|
||||
foreach ($ruleSetIterator as $key => $rule) {
|
||||
$result[] = $key;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue