Completed
Push — master ( 3a0c9c...9f512c )
by Jeff
08:43
created
models/types/Weather.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
      */
45 45
 
46 46
     /**
47
-    * {@inheritdoc}
48
-    */
47
+     * {@inheritdoc}
48
+     */
49 49
     public function __construct($config = [])
50 50
     {
51 51
         parent::__construct($config);
Please login to merge, or discard this patch.
messages/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     // string, required, root directory of all source files
5
-    'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..',
5
+    'sourcePath' => __DIR__.DIRECTORY_SEPARATOR.'..',
6 6
     // array, required, list of language codes that the extracted messages
7 7
     // should be translated to. For example, ['zh-CN', 'de'].
8 8
     'languages' => ['fr-FR'],
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) use ($model) {
30
+                    'link' => function($url, $_model) 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/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
                 'class' => 'yii\grid\ActionColumn',
24 24
                 'template' => '{view} {update} {delete} {toggle}',
25 25
                 'buttons' => [
26
-                    'toggle' => function ($url, $model) {
26
+                    'toggle' => function($url, $model) {
27 27
                         return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url);
28 28
                     },
29 29
                 ],
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
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
                 'class' => 'yii\grid\ActionColumn',
24 24
                 'template' => '{view} {update} {delete} {toggle}',
25 25
                 'buttons' => [
26
-                    'toggle' => function ($url, $model) {
26
+                    'toggle' => function($url, $model) {
27 27
                         return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url);
28 28
                     },
29 29
                 ],
Please login to merge, or discard this patch.
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) {
29
+                'value' => function($model) {
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) {
37
+                    'set-roles' => function($url) {
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/screen/view.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
                 'controller' => 'flow',
58 58
                 'template' => '{view} {update} {unlink}',
59 59
                 'buttons' => [
60
-                    'unlink' => function ($url, $_model) use ($model) {
60
+                    'unlink' => function($url, $_model) use ($model) {
61 61
                         return Html::a('<span class="glyphicon glyphicon-remove"></span>', Url::to(['unlink', 'id' => $model->id, 'flowId' => $_model->id]));
62 62
                     },
63 63
                 ],
Please login to merge, or discard this patch.
views/screen/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) use ($model) {
30
+                    'link' => function($url, $_model) 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/content/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
                 'class' => 'yii\grid\ActionColumn',
24 24
                 'template' => '{view} {update} {delete} {toggle}',
25 25
                 'buttons' => [
26
-                    'toggle' => function ($url, $model) {
26
+                    'toggle' => function($url, $model) {
27 27
                         return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url);
28 28
                     },
29 29
                 ],
Please login to merge, or discard this patch.