Completed
Pull Request — master (#156)
by Corey
03:15
created
site/views/checkin/report.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 ];
42 42
 
43 43
 $tmp_pie = [];
44
-foreach($answer_pie as $key => $category) {
44
+foreach ($answer_pie as $key => $category) {
45 45
   $json = [
46 46
     "value" => (int)$category['count'],
47 47
     "color" => $pie_colors[$key]["color"],
@@ -79,12 +79,12 @@  discard block
 block discarded – undo
79 79
                 <th>Behavior</th>
80 80
                 <th>Category</th>
81 81
             </tr>
82
-<?php foreach($top_behaviors as $key => $row) {
82
+<?php foreach ($top_behaviors as $key => $row) {
83 83
 $num = $key + 1;
84
-print "<tr>".
85
-  "<td>{$row['count']}</td>".
86
-  "<td>{$row['behavior']['name']}</td>".
87
-  "<td>{$row['behavior']['category']['name']}</td>".
84
+print "<tr>" .
85
+  "<td>{$row['count']}</td>" .
86
+  "<td>{$row['behavior']['name']}</td>" .
87
+  "<td>{$row['behavior']['category']['name']}</td>" .
88 88
   "</tr>";
89 89
 
90 90
 }
Please login to merge, or discard this patch.
site/views/site/contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         <?= $form->field($model, 'subject') ?>
58 58
         <?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
59 59
 
60
-        <?php if(Yii::$app->user->isGuest) {
60
+        <?php if (Yii::$app->user->isGuest) {
61 61
           // only show captcha if user is not logged in
62 62
           print $form->field($model, 'verifyCode')->widget(Captcha::class, [
63 63
             'template' => '<div class="row"><div class="col-md-3">{image}</div><div class="col-md-6">{input}</div></div>',
Please login to merge, or discard this patch.