Passed
Branch master (6e03f5)
by Sarah
02:10
created
Events.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
             return;
28 28
         }
29 29
         $event->sender->view->registerAssetBundle(Assets::className());
30
-        $event->sender->addWidget(SteamFrame::className(), [], [
30
+        $event->sender->addWidget(SteamFrame::className(), [ ], [
31 31
             'sortOrder' => Setting::Get('timeout', 'steam')
32 32
         ]);
33 33
     }
Please login to merge, or discard this patch.
controllers/AdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             $this->view->saved();
19 19
         }
20 20
 
21
-        return $this->render('index', ['model' => $model]);
21
+        return $this->render('index', [ 'model' => $model ]);
22 22
     }
23 23
 
24 24
 }
Please login to merge, or discard this patch.
messages/es/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '',
4
-		'Steam Settings' => '',
5
-		'Steam Widget URL:' => '',
6
-		'<strong>Steam</strong> module configuration' => '',
7
-		'Save' => '',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '',
4
+        'Steam Settings' => '',
5
+        'Steam Widget URL:' => '',
6
+        '<strong>Steam</strong> module configuration' => '',
7
+        'Save' => '',
8
+    ];
Please login to merge, or discard this patch.
messages/zh_cn/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '',
4
-		'Steam Settings' => '',
5
-		'Steam Widget URL:' => '',
6
-		'<strong>Steam</strong> module configuration' => '',
7
-		'Save' => '',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '',
4
+        'Steam Settings' => '',
5
+        'Steam Widget URL:' => '',
6
+        '<strong>Steam</strong> module configuration' => '',
7
+        'Save' => '',
8
+    ];
Please login to merge, or discard this patch.
messages/de/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '',
4
-		'Steam Settings' => '',
5
-		'Steam Widget URL:' => '',
6
-		'<strong>Steam</strong> module configuration' => '',
7
-		'Save' => '',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '',
4
+        'Steam Settings' => '',
5
+        'Steam Widget URL:' => '',
6
+        '<strong>Steam</strong> module configuration' => '',
7
+        'Save' => '',
8
+    ];
Please login to merge, or discard this patch.
messages/en-US/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-	return [
4
-		'<strong>Steam</strong>' => '<strong>Steam</strong>',
5
-		'Steam Settings' => 'Steam Settings',
6
-		'Steam Widget URL:' => 'Steam Widget URL:',
7
-		'<strong>Steam</strong> module configuration' => '<strong>Steam</strong> module configuration',
8
-		'Save' => 'Save',
9
-	];
3
+    return [
4
+        '<strong>Steam</strong>' => '<strong>Steam</strong>',
5
+        'Steam Settings' => 'Steam Settings',
6
+        'Steam Widget URL:' => 'Steam Widget URL:',
7
+        '<strong>Steam</strong> module configuration' => '<strong>Steam</strong> module configuration',
8
+        'Save' => 'Save',
9
+    ];
Please login to merge, or discard this patch.
messages/ja/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '<strong>Steam</strong>',
4
-		'Steam Settings' => 'Steam 設定',
5
-		'Steam Widget URL:' => 'SteamウィジェットURL:',
6
-		'<strong>Steam</strong> module configuration' => '<strong>Steam</strong> モジュール構成',
7
-		'Save' => 'セーブ',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '<strong>Steam</strong>',
4
+        'Steam Settings' => 'Steam 設定',
5
+        'Steam Widget URL:' => 'SteamウィジェットURL:',
6
+        '<strong>Steam</strong> module configuration' => '<strong>Steam</strong> モジュール構成',
7
+        'Save' => 'セーブ',
8
+    ];
Please login to merge, or discard this patch.
widgets/SteamFrame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function run()
23 23
     {
24 24
         $url = Yii::$app->getModule('steam')->getServerUrl() . '/widget';
25
-        return $this->render('steamframe', ['steamUrl' => $url]);
25
+        return $this->render('steamframe', [ 'steamUrl' => $url ]);
26 26
     }
27 27
 
28 28
 }
Please login to merge, or discard this patch.
widgets/views/steamframe.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 ?>
9 9
 
10 10
 <div class="panel panel-default panel-steam" id="panel-steam">
11
-    <?= \humhub\widgets\PanelMenu::widget(['id' => 'panel-steam']); ?>
11
+    <?= \humhub\widgets\PanelMenu::widget([ 'id' => 'panel-steam' ]); ?>
12 12
   <div class="panel-heading">
13 13
     <?=Yii::t('SteamModule.base', '<strong>Steam</strong>'); ?>
14 14
   </div>
Please login to merge, or discard this patch.