Completed
Branch master (062e35)
by Jeff
07:39
created
views/user/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
             'last_login_at',
27 27
             [
28 28
                 'attribute' => 'role',
29
-                'value' => function ($model, $key, $index, $column) {
29
+                'value' => function($model, $key, $index, $column) {
30 30
                     return $model->role ? Yii::t('app', $model->role->name) : null;
31 31
                 },
32 32
             ],
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             ['class' => 'yii\grid\ActionColumn',
35 35
                 'template' => '{view} {set-roles} {delete}',
36 36
                 'buttons' => [
37
-                    'set-roles' => function ($url, $model, $key) {
37
+                    'set-roles' => function($url, $model, $key) {
38 38
                         return Html::a('<span class="glyphicon glyphicon-cog"></span>', $url);
39 39
                     },
40 40
                 ],
Please login to merge, or discard this patch.
views/user/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             ],
37 37
             [
38 38
                 'attribute' => 'flows',
39
-                'value' => count($model->flows) ? implode(', ', array_map(function ($f) {
39
+                'value' => count($model->flows) ? implode(', ', array_map(function($f) {
40 40
                     return $f->name;
41 41
                 }, $model->flows)) : null,
42 42
                 'visible' => $model->needsFlow,
Please login to merge, or discard this patch.
views/screen-template/_form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
21 21
 
22 22
     <?php
23
-        $bgs = array_map(function ($bg) {
23
+        $bgs = array_map(function($bg) {
24 24
             return '<img src="'.$bg['uri'].'" alt="'.$bg['name'].'" class="img-preview"/><br />'.$bg['name'];
25 25
         }, $backgrounds);
26 26
     ?>
Please login to merge, or discard this patch.
views/device/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 'class' => 'yii\grid\ActionColumn',
27 27
                 'template' => '{view} {update} {delete} {toggle}',
28 28
                 'buttons' => [
29
-                    'toggle' => function ($url, $model, $key) {
29
+                    'toggle' => function($url, $model, $key) {
30 30
                         return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url);
31 31
                     },
32 32
                 ],
Please login to merge, or discard this patch.
views/device/link.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
                 'template' => '{link}',
28 28
                 'header' => Yii::t('app', 'Link'),
29 29
                 'buttons' => [
30
-                    'link' => function ($url, $_model, $key) use ($model) {
30
+                    'link' => function($url, $_model, $key) use ($model) {
31 31
                         return Html::a('<span class="glyphicon glyphicon-plus"></span>', Url::to(['link', 'id' => $model->id, 'screenId' => $_model->id]));
32 32
                     },
33 33
                 ],
Please login to merge, or discard this patch.
views/device/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                 'controller' => 'screen',
55 55
                 'template' => '{view} {update} {unlink}',
56 56
                 'buttons' => [
57
-                    'unlink' => function ($url, $_model, $key) use ($model) {
57
+                    'unlink' => function($url, $_model, $key) use ($model) {
58 58
                         return Html::a('<span class="glyphicon glyphicon-remove"></span>', Url::to(['unlink', 'id' => $model->id, 'screenId' => $_model->id]));
59 59
                     },
60 60
                 ],
Please login to merge, or discard this patch.
views/flow/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
                 'controller' => 'content',
66 66
                 'template' => '{view} {update} {delete} {toggle}',
67 67
                 'buttons' => [
68
-                    'toggle' => function ($url, $model, $key) {
68
+                    'toggle' => function($url, $model, $key) {
69 69
                         return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url);
70 70
                     },
71 71
                 ],
Please login to merge, or discard this patch.
config/params.example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         'calendarTimezone' => 'UTC',
30 30
         'displayTeachers' => false,
31 31
     ],
32
-    'weather' => [ // https://darksky.net/dev
32
+    'weather' => [// https://darksky.net/dev
33 33
         'language' => 'en',
34 34
         'units' => 'us',
35 35
         'apikey' => '',
Please login to merge, or discard this patch.