Passed
Push — master ( 345dac...c57047 )
by Mihail
09:15
created
Apps/View/Front/default/widgets/newcomment/default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,12 @@
 block discarded – undo
16 16
             <i class="fa fa-user"></i>
17 17
             <?php if ((int)$comment['user']['id'] > 0): ?>
18 18
                 <?= Url::a(['profile/show', [$comment['user']['id']]], $comment['user']['name'], ['style' => 'color: #595959']) ?>
19
-            <?php else: ?>
19
+            <?php else {
20
+    : ?>
20 21
                 <?= $comment['user']['name'] ?>
21
-            <?php endif; ?>
22
+            <?php endif;
23
+}
24
+?>
22 25
         </div>
23 26
         <div class="col-md-6 pull-right">
24 27
             <small class="text-secondary pull-right">
Please login to merge, or discard this patch.