mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 13:57:50 +08:00
code style. FOREACH
This commit is contained in:
@@ -66,7 +66,7 @@ class TargetTest extends TestCase
|
||||
|
||||
$this->assertEquals(count($expected), count(static::$messages));
|
||||
$i = 0;
|
||||
foreach($expected as $e) {
|
||||
foreach ($expected as $e) {
|
||||
$this->assertEquals('test' . $e, static::$messages[$i++][0]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user