Completed
Push — master ( b00ae8...c37779 )
by Jeff
06:25 queued 13s
created
controllers/ContentController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Lists all Screen models.
44 44
      *
45
-     * @return mixed
45
+     * @return string
46 46
      */
47 47
     public function actionIndex()
48 48
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @param int $id
67 67
      *
68
-     * @return mixed
68
+     * @return string
69 69
      */
70 70
     public function actionView($id)
71 71
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      *
147 147
      * @param int $id
148 148
      *
149
-     * @return mixed
149
+     * @return \yii\web\Response
150 150
      */
151 151
     public function actionDelete($id)
152 152
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      * @param int $id
192 192
      * @param int $flowId
193 193
      *
194
-     * @return mixed
194
+     * @return \yii\web\Response
195 195
      */
196 196
     public function actionUnlink($id, $flowId)
197 197
     {
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
@@ -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.
views/content/index.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.
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, $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/screen/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.