code style. FOREACH

This commit is contained in:
Alexander Mohorev
2014-03-03 21:47:47 +03:00
parent b2f1b00bf2
commit 95ea1c20bb
59 changed files with 141 additions and 141 deletions

View File

@@ -23,7 +23,7 @@ use yii\helpers\Html;
</tr>
</thead>
<tbody>
<?php foreach($values as $name => $value): ?>
<?php foreach ($values as $name => $value): ?>
<tr>
<th style="width: 200px;"><?= Html::encode($name) ?></th>
<td style="overflow:auto"><?= Html::encode($value) ?></td>

View File

@@ -23,7 +23,7 @@ use yii\helpers\VarDumper;
</tr>
</thead>
<tbody>
<?php foreach($values as $name => $value): ?>
<?php foreach ($values as $name => $value): ?>
<tr>
<th style="width: 200px;"><?= Html::encode($name) ?></th>
<td><?= htmlspecialchars(VarDumper::dumpAsString($value), ENT_QUOTES|ENT_SUBSTITUTE, \Yii::$app->charset, true) ?></td>