mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-28 21:39:47 +08:00
code style. FOREACH
This commit is contained in:
@@ -29,7 +29,7 @@ ArrayHelper::multisort($constants, 'name');
|
||||
<tr>
|
||||
<th>Constant</th><th>Value</th><th>Description</th><th>Defined By</th>
|
||||
</tr>
|
||||
<?php foreach($constants as $constant): ?>
|
||||
<?php foreach ($constants as $constant): ?>
|
||||
<tr<?= $constant->definedBy != $type->name ? ' class="inherited"' : '' ?> id="<?= $constant->name ?>">
|
||||
<td><?= $constant->name ?><a name="<?= $constant->name ?>-detail"></a></td>
|
||||
<td><?= $constant->value ?></td>
|
||||
|
||||
Reference in New Issue
Block a user