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

@@ -6,7 +6,7 @@
*/
$see = [];
foreach($object->tags as $tag) {
foreach ($object->tags as $tag) {
/** @var $tag phpDocumentor\Reflection\DocBlock\Tag\SeeTag */
if (get_class($tag) == 'phpDocumentor\Reflection\DocBlock\Tag\SeeTag') {
$ref = $tag->getReference();
@@ -24,7 +24,7 @@ if (empty($see)) {
<div class="SeeAlso">
<h4>See Also</h4>
<ul>
<?php foreach($see as $ref): ?>
<?php foreach ($see as $ref): ?>
<li><?= \yii\apidoc\helpers\ApiMarkdown::process($ref, $object->definedBy, true) ?></li>
<?php endforeach; ?>
</ul>